Paradox/Client.php
public function createCapConstraint($collection, $size)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->createCapConstraint($collection, $size);
    }
public function createCapConstraint($collection, $size)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->createCapConstraint($collection, $size);
    }
Create a cap constraint on a collection.
@param  string $collection The name of the collection.
@param  int    $size       The size of the cap constraint.
@link http://www.arangodb.org/manuals/current/IndexCapHttp.html
@return int    Id of the index created.