src/Rocketeer/Services/Tasks/TasksHandler.php
protected function delegateAndRebind($method, array $parameters, $builder)
    {
        $object = (array) array_shift($parameters);
        $object = $this->builder->$builder(...$object);
        $object->$method(...$parameters);

        $this->container->add('rocketeer.'.$object->getIdentifier(), $object);
    }
protected function delegateAndRebind($method, array $parameters, $builder)
    {
        $object = (array) array_shift($parameters);
        $object = $this->builder->$builder(...$object);
        $object->$method(...$parameters);

        $this->container->add('rocketeer.'.$object->getIdentifier(), $object);
    }
protected function delegateAndRebind ( $ method , array $ parameters , $ builder ) { $ object = ( array ) array_shift ( $ parameters ) ; $ object = $ this -> builder -> $ builder ( ... $ object ) ; $ object -> $ method ( ... $ parameters ) ; $ this -> container -> add ( 'rocketeer.' . $ object -> getIdentifier ( ) , $ object ) ; }
Call a method on an object, and rebind it into the container.

@param string $method
@param array  $parameters
@param string $builder

@throws \Rocketeer\Services\Builders\TaskCompositionException
Call a method on an object and rebind it into the container .