src/AbstractEntity.php
public function mapFrom($field)
    {
        return isset($this->mapping[$field]) ? $this->mapping[$field] : $field;
    }
public function mapFrom($field)
    {
        return isset($this->mapping[$field]) ? $this->mapping[$field] : $field;
    }
public function mapFrom ( $ field ) { return isset ( $ this -> mapping [ $ field ] ) ? $ this -> mapping [ $ field ] : $ field ; }
Map DB field name to property name

@param $field

@return mixed
Map DB field name to property name