public function property($name = null) { if ($name === null) { if (!$this->property) { $this->property = Inflector::underscore($this->alias); } return $this->property; } $this->property = $name; }