original_string: protected static function getControllerClass($live = true) {
          $class = static::getModule() . '\Controllers\\' . static::getController() .
                  'Controller';
  
          if (!class_exists($class))
              ControllerException::notFound($class);
  
          if (!in_array('DScribe\Core\AController', class_parents($class)))
              throw new \Exception('Controller Exception: Controller "' . $class . '" does not extend "DScribe\Core\AController"');
  
          return ($live) ? new $class() : $class;
      }
code: protected static function getControllerClass($live = true) {
          $class = static::getModule() . '\Controllers\\' . static::getController() .
                  'Controller';
  
          if (!class_exists($class))
              ControllerException::notFound($class);
  
          if (!in_array('DScribe\Core\AController', class_parents($class)))
              throw new \Exception('Controller Exception: Controller "' . $class . '" does not extend "DScribe\Core\AController"');
  
          return ($live) ? new $class() : $class;
      }
code_tokens: protected static function getControllerClass ( $ live = true ) { $ class = static :: getModule ( ) . '\Controllers\\' . static :: getController ( ) . 'Controller' ; if ( ! class_exists ( $ class ) ) ControllerException :: notFound ( $ class ) ; if ( ! in_array ( 'DScribe\Core\AController' , class_parents ( $ class ) ) ) throw new \ Exception ( 'Controller Exception: Controller "' . $ class . '" does not extend "DScribe\Core\AController"' ) ; return ( $ live ) ? new $ class ( ) : $ class ; }
docstring: Creates an instance of the current controller class
  @return AController
  @throws Exception
docstring_tokens: Creates an instance of the current controller class