public function get($name) { if (!isset(static::$columns[$name])) { throw new Exception\UndefinedPropertyException('Cannot get property that is not in the object definition.'); } return isset($this->data[$name]) ? $this->data[$name] : null; }