Showing 7 of 1,975 result(s)
Values can be retrieved with the session function by supplying a $key . To retrieve the test value from the earlier example the function call would look like so: It is possible that a session value does not exist. When this is the case, the...
In order to supply extra headers we must also provide an argument for $status and then supply an argument for $headers :
…config directory. It can also be used to construct paths relative to the configuration directory by supplying a $path .The signature of the config_path function is:The following examples will assume that the Laravel application is installed in...
…e database directory. It can also be used to construct paths relative to the database directory by supplying a $path .The signature of the database_path function is:The following examples will assume that the Laravel application is installed in...
…to the public directory. It can also be used to construct paths relative to the public directory if a $path is supplied.The signature of the public_path function is:The following examples will assume that the Laravel application is installed in...
…the storage directory. It can also be used to construct paths relative to the storage directory if a $path is supplied.The signature of the storage_path function is:The following examples will assume that the Laravel application is installed in...
In order to supply extra headers we must also provide an argument for $status and then supply an argument for $headers :