43 lines
859 B
YAML
43 lines
859 B
YAML
name: HasFactory
|
|
class_comment: null
|
|
dependencies: []
|
|
properties: []
|
|
methods:
|
|
- name: factory
|
|
visibility: public
|
|
parameters:
|
|
- name: count
|
|
default: 'null'
|
|
- name: state
|
|
default: '[]'
|
|
comment: '# * @template TFactory of \Illuminate\Database\Eloquent\Factories\Factory
|
|
|
|
# */
|
|
|
|
# trait HasFactory
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Get a new factory instance for the model.
|
|
|
|
# *
|
|
|
|
# * @param (callable(array<string, mixed>, static|null): array<string, mixed>)|array<string,
|
|
mixed>|int|null $count
|
|
|
|
# * @param (callable(array<string, mixed>, static|null): array<string, mixed>)|array<string,
|
|
mixed> $state
|
|
|
|
# * @return TFactory'
|
|
- name: newFactory
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Create a new factory instance for the model.
|
|
|
|
# *
|
|
|
|
# * @return TFactory|null'
|
|
traits: []
|
|
interfaces: []
|