public function getDeployer($deployer)
    {
        if (false === isset($this->deployers[$deployer])) {
            throw new \InvalidArgumentException(sprintf('The deployer "%s" is not registered.', $deployer));
        }

        return $this->deployers[$deployer];
    }
public function getDeployer($deployer)
    {
        if (false === isset($this->deployers[$deployer])) {
            throw new \InvalidArgumentException(sprintf('The deployer "%s" is not registered.', $deployer));
        }

        return $this->deployers[$deployer];
    }
public function getDeployer ( $ deployer ) { if ( false === isset ( $ this -> deployers [ $ deployer ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The deployer "%s" is not registered.' , $ deployer ) ) ; } return $ this -> deployers [ $ deployer ] ; }
Returns a deployer

@param string $deployer The deployer name

@return \Plum\Deployer\DeployerInterface
Returns a deployer