Document/AbstractDocument.php
protected function getMongoDocumentData($name)
    {
        if (array_key_exists($name, $this->document)) {
            return $this->document[$name];
        }

        return null;
    }
protected function getMongoDocumentData($name)
    {
        if (array_key_exists($name, $this->document)) {
            return $this->document[$name];
        }

        return null;
    }
protected function getMongoDocumentData ( $ name ) { if ( array_key_exists ( $ name , $ this -> document ) ) { return $ this -> document [ $ name ] ; } return null ; }
Gets data from the document

@param string $name

@return mixed
Gets data from the document