php - Class not found/loaded in silex -
hello have service in config/config.php
$app['jsonfetcher'] = $app->share(function($app) { homecoming new app\custom\jsonfetcher($app); }); the jsonfetcher in app/custom/jsonfetcher.php
and in composer.json have
"autoload": { "psr-0": { "custom": "app" } } somehow still error
fatal error: class 'app\custom\jsonfetcher' not found in /users/username/sites/site-demo/config/config.php on line 15
what doing wrong here?
php symfony2 silex
No comments:
Post a Comment