Paradox/Client.php
public function createHashIndex($collection, $fields, $unique = null)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->createHashIndex($collection, $fields, $unique);
    }
public function createHashIndex($collection, $fields, $unique = null)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->createHashIndex($collection, $fields, $unique);
    }
Create a hash index on a collection.
@param  string       $collection The name of the collection.
@param  array|string $fields     The array of fields or a string representing 1 field.
@param  boolean      $unique     Whether the values in the index should be unique or not.
@link http://www.arangodb.org/manuals/current/IndexHashHttp.html
@return int          Id of the index created.