src/Model/IsResource.php
public function controller()
	{
		if(!$this->hasController()) {
			throw new InvalidControllerException('Could get controller of ' . get_class($this) . '. Please fill $controller property.');
		}

		return app()->make($this->controller);
	}
public function controller()
	{
		if(!$this->hasController()) {
			throw new InvalidControllerException('Could get controller of ' . get_class($this) . '. Please fill $controller property.');
		}

		return app()->make($this->controller);
	}
public function controller ( ) { if ( ! $ this -> hasController ( ) ) { throw new InvalidControllerException ( 'Could get controller of ' . get_class ( $ this ) . '. Please fill $controller property.' ) ; } return app ( ) -> make ( $ this -> controller ) ; }
Get the controller linked from

@return mixed
@throws InvalidControllerException
Get the controller linked from