get_cli_option() is called outside Laravel app, so namespace prefix must be left there
This commit is contained in:
parent
3cd624eac8
commit
e4080c02f5
|
@ -574,7 +574,7 @@ function yield($section)
|
|||
*/
|
||||
function get_cli_option($option, $default = null)
|
||||
{
|
||||
foreach (Request::foundation()->server->get('argv') as $argument)
|
||||
foreach (Laravel\Request::foundation()->server->get('argv') as $argument)
|
||||
{
|
||||
if (starts_with($argument, "--{$option}="))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue