Phalcon\Db\Adapter\MongoDB\Model\CollectionInfo::getCappedMax PHP Method

getCappedMax() public method

Return the maximum number of documents to keep in the capped collection.
public getCappedMax ( ) : integer | null
return integer | null
    public function getCappedMax()
    {
        return isset($this->info['options']['max']) ? (int) $this->info['options']['max'] : null;
    }