$created
$created : \DateTime
$revel : \Revel\Revel
one(\Revel\Revel $revel, mixed $data = null) : static
Create one instance of this Model from source data.
\Revel\Revel | $revel | The Revel instance that created this model. |
mixed | $data | The source data. |
many(\Revel\Revel $revel, array|mixed $data) : array<mixed,static>
Create multiple instance of this Model from a list of source data.
\Revel\Revel | $revel | The Revel instance that created these models. |
array|mixed | $data | The source data. |
__construct(\Revel\Revel $revel, mixed $data)
Model constructor.
\Revel\Revel | $revel | The Revel instance that created this model. |
mixed | $data | The data to populate this Model with. |