lsolesen\pel\PelIfd::getEntry PHP Method

getEntry() public method

Retrieve an entry.
public getEntry ( lsolesen\pel\PelTag $tag ) : lsolesen\pel\PelEntry
$tag lsolesen\pel\PelTag the tag identifying the entry.
return lsolesen\pel\PelEntry the entry associated with the tag, or null if no such entry exists.
    public function getEntry($tag)
    {
        if (isset($this->entries[$tag])) {
            return $this->entries[$tag];
        } else {
            return null;
        }
    }