lsolesen\pel\PelIfd::offsetExists PHP Méthode

offsetExists() public méthode

This methods is part of the ArrayAccess SPL interface for overriding array access of objects, it allows you to check for existance of an entry in the IFD: if (isset($ifd[PelTag::FNUMBER])) ... do something with the F-number.
public offsetExists ( lsolesen\pel\PelTag $tag ) : boolean
$tag lsolesen\pel\PelTag the offset to check.
Résultat boolean whether the tag exists.
    public function offsetExists($tag)
    {
        return isset($this->entries[$tag]);
    }