AuthBucket\Bundle\OAuth2Bundle\Entity\ModelManagerFactory::getModelManager PHP Method

getModelManager() public method

public getModelManager ( $type )
    public function getModelManager($type)
    {
        if (!isset($this->managers[$type])) {
            throw new ServerErrorException();
        }
        return $this->managers[$type];
    }