Phalcon\Db\Adapter\MongoDB\Model\BSONArray::bsonSerialize PHP Метод

bsonSerialize() публичный Метод

The array data will be numerically reindexed to ensure that it is stored as a BSON array.
См. также: http://php.net/mongodb-bson-serializable.bsonserialize
public bsonSerialize ( ) : array
Результат array
    public function bsonSerialize()
    {
        return array_values($this->getArrayCopy());
    }