CjFactory
class CjFactory extends Factory (View source)
Properties
| protected array | $state | Change key-value pairs in the definition |
from Factory |
Methods
array
definition()
Define the CJ parcel service's default state.
array
create()
Merge nested state key by key and keep the rendered barcode synchronized with the tracking number.
Details
array
definition()
Define the CJ parcel service's default state.
static Factory
make(array|null $state = [])
Create a new Factory instance
Factory
state(array $state)
Update the state of the returned definitions
array
create()
Merge nested state key by key and keep the rendered barcode synchronized with the tracking number.