updateEntry()
public method
In case we couldn't find content, we'll try to use Open Graph data.
We can also force the content, in case of an import from the v1 for example, so the function won't
fetch the content from the website but rather use information given with the $content parameter.
public updateEntry ( Entry $entry, string $url, array $content = [] ) : Entry |
$entry |
Wallabag\CoreBundle\Entity\Entry |
Entry to update |
$url |
string |
Url to grab content for |
$content |
array |
An array with AT LEAST keys title, html, url, language & content_type to skip the fetchContent from the url |
return |
Wallabag\CoreBundle\Entity\Entry |
|