Exemple #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);
 }
Exemple #2
0
 public function __get($property)
 {
     return parent::__get($this->snake($property));
     // TODO: Change the autogenerated stub
 }
Exemple #3
0
 public function __get($property)
 {
     return parent::__get($property);
 }