__get() public method

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