Framework/Router/Router.php
/**
	 * Call route action with parameters
	 * TODO: Try Catch BadMethodCallException
	 * @param  ShadowFiend\Framework\Router\Route $route
	 * @return callback;
	 */
Call route action with parameters
TODO: Try Catch BadMethodCallException
@param  ShadowFiend\Framework\Router\Route $route
@return callback.
Call route action with parameters TODO : Try Catch BadMethodCallException @param ShadowFiend \ Framework \ Router \ Route $route @return callback .
protected function runRoute($route)
	{
		if (is_array($route->action)) {
			$controller = new $route->action['controller'];
			$controllerAction = $route->action['controller_method'];
			call_user_func_array([$controller, $controllerAction], $route->params);
		} else {
			call_user_func_array($route->action, $route->params);
		}
	}
protected function runRoute ( $ route ) { if ( is_array ( $ route -> action ) ) { $ controller = new $ route -> action [ 'controller' ] ; $ controllerAction = $ route -> action [ 'controller_method' ] ; call_user_func_array ( [ $ controller , $ controllerAction ] , $ route -> params ) ; } else { call_user_func_array ( $ route -> action , $ route -> params ) ; } }
Call route action with parameters
 TODO: Try Catch BadMethodCallException
 @param  ShadowFiend\Framework\Router\Route $route
 @return callback;
Call route action with parameters TODO : Try Catch BadMethodCallException @param ShadowFiend \ Framework \ Router \ Route $route @return callback ;
// Run callback