28 lines
542 B
PHP
28 lines
542 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Native\Desktop\Facades\Window;
|
|
use Native\Desktop\Contracts\ProvidesPhpIni;
|
|
|
|
class NativeAppServiceProvider implements ProvidesPhpIni
|
|
{
|
|
/**
|
|
* Executed once the native application has been booted.
|
|
* Use this method to open windows, register global shortcuts, etc.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
Window::open();
|
|
}
|
|
|
|
/**
|
|
* Return an array of php.ini directives to be set.
|
|
*/
|
|
public function phpIni(): array
|
|
{
|
|
return [
|
|
];
|
|
}
|
|
}
|