Esempio n. 1
0
 /**
  * Implements JsonSerializable::jsonSerialize().
  */
 public function jsonSerialize()
 {
     $valid = !isset($this->preferredStartingPosition) || $this->validatePreferredStartingPosition($this->preferredStartingPosition);
     if (!$valid) {
         return NULL;
     }
     return parent::jsonSerialize();
 }
Esempio n. 2
0
 /**
  * Implements JsonSerializable::jsonSerialize().
  */
 public function jsonSerialize()
 {
     $valid = !isset($this->initialAlpha) || $this->validateInitialAlpha($this->initialAlpha);
     if (!$valid) {
         return NULL;
     }
     return parent::jsonSerialize();
 }
Esempio n. 3
0
 /**
  * Implements __construct().
  */
 public function __construct()
 {
     return parent::__construct('appear');
 }