lsolesen\pel\PelIfd::addSubIfd PHP Method

addSubIfd() public method

Any previous sub-IFD of the same type will be overwritten.
public addSubIfd ( PelIfd $sub )
$sub PelIfd the sub IFD. The type of must be one of {@link PelIfd::EXIF}, {@link PelIfd::GPS}, or {@link PelIfd::INTEROPERABILITY}.
    public function addSubIfd(PelIfd $sub)
    {
        $this->sub[$sub->type] = $sub;
    }