src/Micrometa/Ports/Item/ItemObjectModel.php
protected function cacheLinkTypeItems()
    {
        $links = [];
        foreach ($this->items as $item) {
            if ($item->getFormat() == LinkType::FORMAT) {
                $links[] = $item;
            }
        }
        $this->links = new ItemList($links);
    }
protected function cacheLinkTypeItems()
    {
        $links = [];
        foreach ($this->items as $item) {
            if ($item->getFormat() == LinkType::FORMAT) {
                $links[] = $item;
            }
        }
        $this->links = new ItemList($links);
    }
protected function cacheLinkTypeItems ( ) { $ links = [ ] ; foreach ( $ this -> items as $ item ) { if ( $ item -> getFormat ( ) == LinkType :: FORMAT ) { $ links [ ] = $ item ; } } $ this -> links = new ItemList ( $ links ) ; }
One-time caching of LinkType items
One - time caching of LinkType items