static array prepend(array $array, mixed $value, mixed $key = null) Push an item onto the beginning of an array. Parameters array $array mixed $value mixed $key Return Value array
static array compiles() Get a list of files that should be compiled for the package. Return Value array
array prepareBindings(array $bindings) Prepare the query bindings for execution. Parameters array $bindings Return Value array
void addExtension(string $extension, string $engine, Closure $resolver = null) Register a valid view extension and its engine. Parameters string $extension string $engine Closure $resolver Return Value void
string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string
void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void
static mixed __callStatic(string $method, array $parameters) Handle dynamic static method calls into the method. Parameters string $method array $parameters Return Value mixed
string content() Get the content of the response. Return Value string
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
string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array
Page 846 of 996