Contao\Model\Registry::isRegistered PHP Méthode

isRegistered() public méthode

Check if a model is registered
public isRegistered ( Model $objModel ) : boolean
$objModel Contao\Model The model object
Résultat boolean True if the model is registered
    public function isRegistered(Model $objModel)
    {
        $intObjectId = spl_object_hash($objModel);
        return isset($this->arrIdentities[$intObjectId]);
    }