lithium\data\collection\DocumentSet::_init PHP Method

_init() protected method

protected _init ( )
    protected function _init()
    {
        parent::_init();
        $this->_original = $this->_data;
        $this->_handlers += array('MongoId' => function ($value) {
            return (string) $value;
        }, 'MongoDate' => function ($value) {
            return $value->sec;
        });
    }