Artesaos\SEOTools\OpenGraph::setBook PHP Method

setBook() public method

Set book properties.
public setBook ( array $attributes = [] ) : Artesaos\SEOTools\Contracts\OpenGraph
$attributes array opengraph book attributes
return Artesaos\SEOTools\Contracts\OpenGraph
    public function setBook($attributes = [])
    {
        $validkeys = ['author', 'isbn', 'release_date', 'tag'];
        $this->setProperties('book', 'bookProperties', $attributes, $validkeys);
        return $this;
    }