protected function key($field)
    {
        if (method_exists($this->model, 'getTrueKey')) {
            return $this->model->getTrueKey($field);
        }

        return $field;
    }
protected function key($field)
    {
        if (method_exists($this->model, 'getTrueKey')) {
            return $this->model->getTrueKey($field);
        }

        return $field;
    }
protected function key ( $ field ) { if ( method_exists ( $ this -> model , 'getTrueKey' ) ) { return $ this -> model -> getTrueKey ( $ field ) ; } return $ field ; }
Returns the true key for a given field.

@param string $field
@return mixed
Returns the true key for a given field .