Str::words()

static string words(string $value, int $words = 100, string $end = '...') Limit the number of words in a string. Parameters string $value int $words string $end Return Value string

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

JsonResponse::content()

string content() Get the content of the response. Return Value string

Model::__callStatic()

static mixed __callStatic(string $method, array $parameters) Handle dynamic static method calls into the method. Parameters string $method array $parameters Return Value mixed

SessionServiceProvider::commands()

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

RequestMakeCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

Factory::addExtension()

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

ResponseFactory::download()

BinaryFileResponse download(SplFileInfo|string $file, string $name = null, array $headers = array(), string|null $disposition = 'attachment') Create a new file download response. Parameters SplFileInfo|string $file string $name array $headers string|null $disposition Return Value BinaryFileResponse

TaggedCache::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Model::setDateFormat()

$this setDateFormat(string $format) Set the date format used by the model. Parameters string $format Return Value $this