Esempio n. 1
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->with('spbill_create_ip', $_SERVER['SERVER_ADDR']);
 }
Esempio n. 2
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes = [])
 {
     parent::__construct(Arr::only($attributes, $this->properties));
 }
Esempio n. 3
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->with('spbill_create_ip', get_client_ip());
 }
Esempio n. 4
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->with('fee_type', 'CNY');
 }
Esempio n. 5
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
 }