public function getPreviews()
    {
        $parsed = [];

        foreach ($this->getParsers() as $name => $parser) {
            if ($parser->canParseLink($this->link))
                $parsed[$name] = $parser->parseLink($this->link)->getPreview();
        }

        return $parsed;
    }
public function getPreviews()
    {
        $parsed = [];

        foreach ($this->getParsers() as $name => $parser) {
            if ($parser->canParseLink($this->link))
                $parsed[$name] = $parser->parseLink($this->link)->getPreview();
        }

        return $parsed;
    }
public function getPreviews ( ) { $ parsed = [ ] ; foreach ( $ this -> getParsers ( ) as $ name => $ parser ) { if ( $ parser -> canParseLink ( $ this -> link ) ) $ parsed [ $ name ] = $ parser -> parseLink ( $ this -> link ) -> getPreview ( ) ; } return $ parsed ; }
Try to get previews from as many parsers as possible
@return PreviewInterface[]
Try to get previews from as many parsers as possible