src/services/Sketchpad.php
public function exec($controller, $method, $params = null)
		{
			$callable = "$controller@$method";
			return $params
				? App::call($callable, $this->getCallParams($controller, $method, $params))
				: App::call($callable);
		}
public function exec($controller, $method, $params = null)
		{
			$callable = "$controller@$method";
			return $params
				? App::call($callable, $this->getCallParams($controller, $method, $params))
				: App::call($callable);
		}
public function exec ( $ controller , $ method , $ params = null ) { $ callable = "$controller@$method" ; return $ params ? App :: call ( $ callable , $ this -> getCallParams ( $ controller , $ method , $ params ) ) : App :: call ( $ callable ) ; }
Calls a controller and methods, resolving any dependency injection

@param   string      $controller     The FQ name of the controller
@param   string      $method         The name of the method
@param   array|null  $params         An optional array of parameters
@return  mixed                       The result of the call
Calls a controller and methods resolving any dependency injection