Doctrine\OrientDB\Query\Command\Index\Count::__construct PHP Method

__construct() public method

Optionally, you can specify the property $class and the $type of the index.
public __construct ( $indexName )
    public function __construct($indexName)
    {
        parent::__construct();
        $this->setToken('Name', $indexName);
    }