Exemple #1
0
 /**
  * Create a new User object.
  *
  */
 public function __construct($properties = [])
 {
     // Set default locale, if not specified
     if (!isset($properties['locale'])) {
         $properties['locale'] = static::$app->site->default_locale;
     }
     parent::__construct($properties);
 }
Exemple #2
0
 /**
  * Create a new Pricing object.
  *
  */
 public function __construct($properties = [])
 {
     parent::__construct($properties);
 }
Exemple #3
0
 /**
  * Create a new Group object.
  *
  */
 public function __construct($properties = [], $id = null)
 {
     parent::__construct($properties);
 }