app\models\Tag::hasType PHP Method

hasType() public method

public hasType ( string $type ) : boolean
$type string
return boolean
    public function hasType(string $type) : bool
    {
        return $this->type === $type;
    }