foo; } /** * @param $foo * @return $this */ public function setFoo($foo) { $this->foo = $foo; return $this; } }