public function __get($property) { switch (strtolower($property)) { case 'withanyarguments': case 'withoutanyargument': return $this->{$property}(); default: return parent::__get($property); } }