Example #1
0
 public function __set($property, $value)
 {
     if (!in_array($property, static::$params)) {
         throw new Exception(sprintf('"%s" is required', $property));
     }
     return parent::__set($property, $value);
 }
Example #2
0
 public function __get($property)
 {
     return parent::__get($this->snake($property));
     // TODO: Change the autogenerated stub
 }
Example #3
0
 public function __get($property)
 {
     return parent::__get($property);
 }