UseModel
class UseModel
Declare the model class for a factory using an attribute.
When placed on a factory class, the specified model will be used when resolving the factory's corresponding model name.
Methods
__construct(string $class)
Create a new attribute instance.
Details
at line 32
__construct(string $class)
Create a new attribute instance.