Newscoop\DependencyInjection\ContainerBuilder::register PHP 메소드

register() 공개 메소드

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);
    }