Shape
class Shape extends Model
A shape, e.g. point
or circle
.
Traits
Some models have fixed, "constant" instances. An example is the Role model, which may have e.g. the roles "admin" and "user". These are always the same and do not change.
Constants
INSTANCES |
The constant instances of this model. |
Properties
bool | $timestamps | Don't maintain timestamps for this model. |
Methods
Get one of the instances of this model that are defined in the INSTANCES constant array.
No description
No description
No description
No description
No description
No description
No description
No description
Details
in
HasConstantInstances at line 35
static mixed
__callStatic(string $key, mixed $arguments)
Get one of the instances of this model that are defined in the INSTANCES constant array.
at line 27
static Shape
point()
No description
at line 27
static int
pointId()
No description
at line 27
static Shape
line()
No description
at line 27
static int
lineId()
No description
at line 27
static Shape
polygon()
No description
at line 27
static int
polygonId()
No description
at line 27
static Shape
circle()
No description
at line 27
static int
circleId()
No description
at line 27
static Shape
rectangle()
No description
at line 27
static int
rectangleId()
No description
at line 27
static Shape
ellipse()
No description
at line 27
static int
ellipseId()
No description
at line 27
static Shape
wholeFrame()
No description
at line 27
static int
wholeFrameId()
No description