class CjFactory extends Factory (View source)

Methods

array
definition()

Define the CJ parcel service's default state.

static Factory
make(array|null $state = [])

Create a new Factory instance

from  Factory
state(array $state)

Update the state of the returned definitions

from  Factory
array
create()

Create definition(s) with the given state and count

from  Factory

Details

array definition()

Define the CJ parcel service's default state.

Return Value

array

The method returns a row of a specific order sheet for a company

static Factory make(array|null $state = [])

Create a new Factory instance

Parameters

array|null $state

The new state

Return Value

Factory

The method returns a new Factory instance

Factory state(array $state)

Update the state of the returned definitions

Parameters

array $state

The new state

Return Value

Factory

The method returns the new state

array create()

Create definition(s) with the given state and count

Return Value

array

The method returns the definition with the given state and count