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

        $this->callableResolvers[spl_object_hash($callableResolver)] = $callableResolver;

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

        $this->callableResolvers[spl_object_hash($callableResolver)] = $callableResolver;

        return $this;
    }
public function addCallableResolver ( CallableResolverInterface $ callableResolver ) { if ( $ this -> handler ) { throw new AlreadyBuildedException ( 'The handler already builded.' ) ; } $ this -> callableResolvers [ spl_object_hash ( $ callableResolver ) ] = $ callableResolver ; return $ this ; }
Add callable resolver

@param CallableResolverInterface $callableResolver

@return HandlerBuilder

@throws AlreadyBuildedException
Add callable resolver