void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void
bool|null fire() Execute the console command. Return Value bool|null
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
FileHelpers trait FileHelpers (View source) Methods string path() Get the fully qualified path to the file. string extension() Get the file's extension. string clientExtension() Get the file's extension supplied by the client. string hashName(string $path = null) Get a filename for the file that is the MD5 hash of the contents.
void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void
OutputInterface getOutput() Get the output implementation. Return Value OutputInterface
string getDateFormat() Get the format for database stored dates. Return Value string
ConnectionFactory class ConnectionFactory (View source) Methods void __construct(Container $container) Create a new connection factory instance. Connection make(array $config, string $name = null) Establish a PDO connection based on the configuration. ConnectorInterface createConnector(array $config) Create a connector instance based on the configuration.
int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int
void bind(string|array $abstract, Closure|string|null $concrete = null, bool $shared = false) Register a binding with the container. Parameters string|array $abstract Closure|string|null $concrete bool $shared Return Value void
Page 958 of 996