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