Waybills
class Waybills implements ArrayAccess, Countable, IteratorAggregate (View source)
Methods
__construct(array $container = [])
Constructs a new instance
int
count()
Get the count of container elements
array
toArray(int $count = 1)
Get the iterator for the container
void
offsetSet($offset, $value)
{@inheritdoc}
bool
offsetExists($offset)
{@inheritdoc}
void
offsetUnset($offset)
{@inheritdoc}
mixed
offsetGet($offset)
{@inheritdoc}
getIterator()
{@inheritdoc}
Details
__construct(array $container = [])
Constructs a new instance
Waybills
add(Waybill|array $waybill)
Adds a Waybill object to the container
Waybills
write()
Run write()
method on the container
int
count()
Get the count of container elements
array
toArray(int $count = 1)
Get the iterator for the container
void
offsetSet($offset, $value)
{@inheritdoc}
bool
offsetExists($offset)
{@inheritdoc}
void
offsetUnset($offset)
{@inheritdoc}
mixed
offsetGet($offset)
{@inheritdoc}
Traversable
getIterator()
{@inheritdoc}
static Waybills
make(array|null $waybills = [])
Instance factory method