public function getSelectName() : ?string
    {
        if (null !== $this->select_name) {
            return $this->select_name . ' as ' . $this->getDBName();
        }
        if (null !== $this->db_name) {
            return $this->db_name;
        }
        return $this->attributes['name'];
    }
public function getSelectName() : ?string
    {
        if (null !== $this->select_name) {
            return $this->select_name . ' as ' . $this->getDBName();
        }
        if (null !== $this->db_name) {
            return $this->db_name;
        }
        return $this->attributes['name'];
    }
public function getSelectName ( ) : ? string { if ( null !== $ this -> select_name ) { return $ this -> select_name . ' as ' . $ this -> getDBName ( ) ; } if ( null !== $ this -> db_name ) { return $ this -> db_name ; } return $ this -> attributes [ 'name' ] ; }
Returns the db select name of the field. If none is set, returns the db_name of the field, if that is not set,
returns the base name of the field.

@return null|string
Returns the db select name of the field . If none is set returns the db_name of the field if that is not set returns the base name of the field .