src/Micrometa/Infrastructure/Parser/LinkType.php
protected function parseLinkType($relAttr)
    {
        $type = [];
        foreach (preg_split('/\040+/', $relAttr) as $rel) {
            $type[] = (object)['name' => $rel, 'profile' => self::HTML_PROFILE_URI];
        }

        return $type;
    }
protected function parseLinkType($relAttr)
    {
        $type = [];
        foreach (preg_split('/\040+/', $relAttr) as $rel) {
            $type[] = (object)['name' => $rel, 'profile' => self::HTML_PROFILE_URI];
        }

        return $type;
    }
protected function parseLinkType ( $ relAttr ) { $ type = [ ] ; foreach ( preg_split ( '/\040+/' , $ relAttr ) as $ rel ) { $ type [ ] = ( object ) [ 'name' => $ rel , 'profile' => self :: HTML_PROFILE_URI ] ; } return $ type ; }
Process the item types

@param string $relAttr rel attribute value

@return array Item types
Process the item types