The code below says it all...
// routes.php
App::make(\'SimpleGeo\',array(\'test\')); <- passing array(\'test\')
// SimpleGeoServiceProvider.php
pu
You can try to bind the class with the parameters directly into your app container, like
app->bind('SimpleGeo', function($app, $parameters)
{
return new SimpleGeo($parameters);
});
}
}
leaving untouched your SimpleGeo.php. You can test it in your routes.php
$test = App::make('SimpleGeo', array('test'));
var_dump ($test);