api/laravel/Database/Eloquent/Factories/HasFactory.yaml

44 lines
859 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
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: []