src/Handler/Builder/HandlerBuilder.php
public function addCallableHandle()
    {
        if ($this->handler) {
            throw new AlreadyBuildedException('The handler already builded.');
        }

        $loader = new CallableLoader();
        $resolver = new CallableResolver();

        $this->addCallableResolver($resolver);
        $this->addActionLoader($loader);

        return $loader;
    }
public function addCallableHandle()
    {
        if ($this->handler) {
            throw new AlreadyBuildedException('The handler already builded.');
        }

        $loader = new CallableLoader();
        $resolver = new CallableResolver();

        $this->addCallableResolver($resolver);
        $this->addActionLoader($loader);

        return $loader;
    }
public function addCallableHandle ( ) { if ( $ this -> handler ) { throw new AlreadyBuildedException ( 'The handler already builded.' ) ; } $ loader = new CallableLoader ( ) ; $ resolver = new CallableResolver ( ) ; $ this -> addCallableResolver ( $ resolver ) ; $ this -> addActionLoader ( $ loader ) ; return $ loader ; }
Add closure handle

@return CallableLoader

@throws AlreadyBuildedException
Add closure handle