ServerServiceProvider::package()

void package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. Parameters string $package string $namespace string $path Return Value void

ServerServiceProvider::commands()

void commands(array $commands) Register the package's custom Artisan commands. Parameters array $commands Return Value void

ServerServiceProvider

ServerServiceProvider class ServerServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void boot() Bootstrap the application events. from ServiceProvider void register() Register the service provider. void package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. from ServiceProvider string guessPackagePath() G

ServerServiceProvider::guessPackagePath()

string guessPackagePath() Guess the package path for the provider. Return Value string

ServerServiceProvider::boot()

void boot() Bootstrap the application events. Return Value void

ServeCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

ServeCommand::warn()

void warn(string $string, null|int|string $verbosity = null) Write a string as warning output. Parameters string $string null|int|string $verbosity Return Value void

ServeCommand::__construct()

void __construct() Create a new console command instance. Return Value void

ServeCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int

ServeCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string