Newscoop\DependencyInjection\ContainerBuilder::register PHP Method

register() public method

Wrapper for ContainerBuilder::getAliases method. This methods allows for simple registration of service definition with a fluid interface.
public register ( string $id, string $class = null )
$id string The service identifier
$class string The service class
    public function register($id, $class = null)
    {
        return parent::register($id, $class);
    }