public function getHandler($name) {
        if (!isset($this->instances[$name])) {
            $handlerClass = __NAMESPACE__ . '\\' . $name;
            $this->instances[$name] = new $handlerClass($this->builder);
        }
        return $this->instances[$name];
    }
public function getHandler($name) {
        if (!isset($this->instances[$name])) {
            $handlerClass = __NAMESPACE__ . '\\' . $name;
            $this->instances[$name] = new $handlerClass($this->builder);
        }
        return $this->instances[$name];
    }
public function getHandler ( $ name ) { if ( ! isset ( $ this -> instances [ $ name ] ) ) { $ handlerClass = __NAMESPACE__ . '\\' . $ name ; $ this -> instances [ $ name ] = new $ handlerClass ( $ this -> builder ) ; } return $ this -> instances [ $ name ] ; }
Returns the handler of the specified name.
@param string $name The handler name.
@return \ManiaScript\Builder\Event\Handler\AbstractHandler The handler.
Returns the handler of the specified name .