Doctrine\OrientDB\Query\Command\Index\Create::type PHP Method

type() public method

Sets the type of the index to create.
public type ( string $type ) : Create
$type string
return Create
    public function type($type)
    {
        $this->setToken('Type', $type);
        return $this;
    }