final public function attributes () : array
	{
		$attributes = [];
		foreach (static::$databaseFields as $field):
			if (isset($this->$field))
				$attributes[$field] = $this->$field;
		endforeach;
		return $attributes;
	}
final public function attributes () : array
	{
		$attributes = [];
		foreach (static::$databaseFields as $field):
			if (isset($this->$field))
				$attributes[$field] = $this->$field;
		endforeach;
		return $attributes;
	}
final public function attributes ( ) : array { $ attributes = [ ] ; foreach ( static :: $ databaseFields as $ field ) : if ( isset ( $ this -> $ field ) ) $ attributes [ $ field ] = $ this -> $ field ; endforeach ; return $ attributes ; }
Return an array of attribute names and their values.
@return array
Return an array of attribute names and their values .