Artesaos\SEOTools\OpenGraph::setProfile PHP Method

setProfile() public method

Set profile properties.
public setProfile ( array $attributes = [] ) : Artesaos\SEOTools\Contracts\OpenGraph
$attributes array opengraph profile attributes
return Artesaos\SEOTools\Contracts\OpenGraph
    public function setProfile($attributes = [])
    {
        $validkeys = ['first_name', 'last_name', 'username', 'gender'];
        $this->setProperties('profile', 'profileProperties', $attributes, $validkeys);
        return $this;
    }