public function implicitBind($namespace, $prefix = '', $suffix = '', $method = null, callable $errorHandler = null)
    {
        $this->implicitBindings[] = compact('namespace', 'prefix', 'suffix', 'method', 'errorHandler');
    }
public function implicitBind($namespace, $prefix = '', $suffix = '', $method = null, callable $errorHandler = null)
    {
        $this->implicitBindings[] = compact('namespace', 'prefix', 'suffix', 'method', 'errorHandler');
    }
public function implicitBind ( $ namespace , $ prefix = '' , $ suffix = '' , $ method = null , callable $ errorHandler = null ) { $ this -> implicitBindings [ ] = compact ( 'namespace' , 'prefix' , 'suffix' , 'method' , 'errorHandler' ) ; }
Implicit bind all models in the given namespace

@param  string $namespace            the namespace where classes are resolved
@param  string $prefix               prefix to be added before class name
@param  string $suffix               suffix to be added after class name
@param  null|string $method          method name to be called on resolved object, omit it to default to :
object->where(object->getRouteKeyname(), $value)->firstOrFail()
@param  null|callable $errorHandler  handler to be called on exceptions (mostly ModelNotFoundException)

@example (bind all models in 'App' namespace) :
->implicitBind('App');

@example (bind all models to their repositories) :
->implicitBind('App\Repositories', '', 'Repository');

@example (bind all models to their repositories using custom method) :
->implicitBind('App\Repositories', '', 'Repository', 'findForRoute');
Implicit bind all models in the given namespace