Location
class Location implements Stringable (View source)
This class represents a warehouse location identified by warehouse, rack, and shelf. The location code is generated from these properties.
Methods
string
locationCode()
Get the location code.
static Location
of(string|array|null $warehouse = null, string|null $rack = null, string|null $shelf = null)
Create a new Location instance.
string
__toString()
Get the string representation of the location.
Details
string
locationCode()
Get the location code.
static Location
of(string|array|null $warehouse = null, string|null $rack = null, string|null $shelf = null)
Create a new Location instance.
string
__toString()
Get the string representation of the location.