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