This Question will be obvious to someone
I have a php file
holiday->app->Console->Commands->myCommand.php
with
namespace Holiday\Console\Commands;
$bob = file_get_contents('Storage/data/BE.json');
and it works
,
However in holiday->app->Http->Controllers->holidayController.php
I have
namespace Holiday\Http\Controllers;
$bob = file_get_contents('Storage/data/BE.json');
but I get
file_get_contents(Holiday/Storage/data/BE.json): failed to open stream:
No such file or directory
does anybody know why this is please ?
via K.J.Norton