lsolesen\pel\PelIfd::offsetGet PHP 메소드

offsetGet() 공개 메소드

This methods is part of the ArrayAccess SPL interface for overriding array access of objects, it allows you to read entries from the IFD the same was as for an array: $entry = $ifd[PelTag::FNUMBER];
public offsetGet ( lsolesen\pel\PelTag $tag ) : lsolesen\pel\PelEntry
$tag lsolesen\pel\PelTag the tag to return. It is an error to ask for a tag which is not in the IFD, just like asking for a non-existant array entry.
리턴 lsolesen\pel\PelEntry the entry.
    public function offsetGet($tag)
    {
        return $this->entries[$tag];
    }