Cloud

Cloud interface Cloud implements Filesystem (View source) Methods bool exists(string $path) Determine if a file exists. from Filesystem string get(string $path) Get the contents of a file. from Filesystem bool put(string $path, string|resource $contents, string $visibility = null) Write the contents of a file. from Filesystem string getVisibility(string $path) Get the visibility for the given path. from Filesystem void setVisibility(string $path, string $visibility) Set th

ClosureCommand::__construct()

void __construct(string $signature, Closure $callback) Create a new command instance. Parameters string $signature Closure $callback Return Value void

ClosureCommand::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

ClosureCommand::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

ClosureCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

ClosureCommand::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

ClosureCommand::run()

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

ClosureCommand::question()

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

ClosureCommand::options()

array options() Get all of the options passed to the command. Return Value array

ClosureCommand::option()

string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array