Arcanedev\SeoHelper\Entities\Twitter\Card::setType PHP Method

setType() public method

Set the card type.
public setType ( string $type ) : Card
$type string
return Card
    public function setType($type)
    {
        if (empty($type)) {
            return $this;
        }
        $this->checkType($type);
        $this->type = $type;
        return $this->addMeta('card', $type);
    }