SYMBOL INDEX (131 symbols across 24 files) FILE: src/ArgumentParser.php class ArgumentParser (line 10) | class ArgumentParser method apply (line 12) | public static function apply(Collection $arguments, Factory $factory):... method fill (line 43) | protected static function fill(Factory $factory, array $attributes): F... FILE: src/Concerns/EnhancedCount.php type EnhancedCount (line 7) | trait EnhancedCount method count (line 15) | public function count($count): self method make (line 20) | public function make($attributes = [], ?Model $parent = null) method raw (line 25) | public function raw($attributes = [], ?Model $parent = null) method withCalculatedCount (line 30) | protected function withCalculatedCount(\Closure $callback) FILE: src/Concerns/EnhancedRelationships.php type EnhancedRelationships (line 10) | trait EnhancedRelationships method with (line 24) | public function with(...$args): self method andWith (line 39) | public function andWith(...$args): self method loadRelation (line 50) | public function loadRelation(RelationRequest $request): self method pushRelatedFactory (line 67) | protected function pushRelatedFactory(RelationRequest $request, ?self ... method withRelationsApplied (line 82) | protected function withRelationsApplied(Closure $callback) method mergedPivotAttributes (line 113) | protected function mergedPivotAttributes(): Closure method newBatch (line 122) | protected function newBatch(): self method createChildren (line 131) | protected function createChildren(Model $model) method getRawAttributes (line 136) | protected function getRawAttributes(?Model $parent) FILE: src/Concerns/EnhancedSequence.php type EnhancedSequence (line 7) | trait EnhancedSequence method sequence (line 14) | public function sequence(...$values): self FILE: src/Factory.php class Factory (line 9) | class Factory extends \Illuminate\Database\Eloquent\Factories\Factory method factoryForModel (line 17) | public static function factoryForModel($modelName): self method apply (line 32) | public function apply(...$args): self method definition (line 37) | public function definition() method fill (line 42) | public function fill($attributes): self method fillPivot (line 47) | public function fillPivot($attributes): self method pipe (line 52) | public function pipe(callable $callback): self method tap (line 57) | public function tap($callback = null): self method newInstance (line 68) | protected function newInstance(array $arguments = []) FILE: src/FactoryServiceProvider.php class FactoryServiceProvider (line 7) | class FactoryServiceProvider extends ServiceProvider FILE: src/HasFactory.php type HasFactory (line 5) | trait HasFactory method factory (line 13) | public static function factory(...$parameters) FILE: src/RelationRequest.php class RelationRequest (line 13) | class RelationRequest method __construct (line 44) | public function __construct($model, $batch, $arguments) method createNestedRequest (line 57) | public function createNestedRequest() method getNestedPath (line 72) | public function getNestedPath($path = null) method getRelatedClass (line 86) | public function getRelatedClass() method getRelation (line 91) | protected function getRelation() method getRelationName (line 104) | public function getRelationName($path = null) method loadMethod (line 111) | public function loadMethod() method hasNesting (line 133) | public function hasNesting() method extractRelationFromArguments (line 141) | protected function extractRelationFromArguments() method isValidRelation (line 158) | protected function isValidRelation($path) method newModel (line 169) | protected function newModel() method failOnMissingRelation (line 177) | protected function failOnMissingRelation() method getPossiblyIntendedRelationships (line 199) | protected function getPossiblyIntendedRelationships() FILE: src/helpers.php function factory (line 5) | function factory($model, ...$arguments) function count (line 15) | function count($count) function fill (line 20) | function fill($attributes) function inherit (line 25) | function inherit(...$attributes) function sequence (line 32) | function sequence(...$sequence) FILE: tests/Feature/FactoryTest.php class FactoryTest (line 15) | class FactoryTest extends TestCase method it_creates_models_with_no_relations (line 20) | public function it_creates_models_with_no_relations() method it_creates_models_without_prior_definitions (line 26) | public function it_creates_models_without_prior_definitions() method it_creates_models_even_when_no_factory_exists (line 32) | public function it_creates_models_even_when_no_factory_exists() method it_creates_models_on_a_custom_connection (line 41) | public function it_creates_models_on_a_custom_connection() method it_makes_models_on_a_custom_connection (line 52) | public function it_makes_models_on_a_custom_connection() method it_supports_giving_a_closure_as_count (line 62) | public function it_supports_giving_a_closure_as_count() method a_builder_can_be_tapped (line 102) | public function a_builder_can_be_tapped() method it_executes_defined_after_callbacks (line 112) | public function it_executes_defined_after_callbacks() method regression_it_ignores_callables_when_expanding_attributes (line 159) | public function regression_it_ignores_callables_when_expanding_attribu... method regression_it_expands_closures_in_definition_attributes (line 169) | public function regression_it_expands_closures_in_definition_attributes() FILE: tests/Feature/RelationsTest.php class RelationsTest (line 21) | class RelationsTest extends TestCase method it_creates_models_with_belongs_to_relations (line 28) | public function it_creates_models_with_belongs_to_relations() method it_creates_models_with_has_many_relations (line 39) | public function it_creates_models_with_has_many_relations() method it_creates_models_with_morph_many_relations (line 51) | public function it_creates_models_with_morph_many_relations() method it_creates_models_with_belongs_to_many_relations (line 62) | public function it_creates_models_with_belongs_to_many_relations() method it_creates_models_with_multiple_relations (line 73) | public function it_creates_models_with_multiple_relations() method it_creates_related_models_on_the_same_connection (line 87) | public function it_creates_related_models_on_the_same_connection() method the_same_relation_can_be_created_multiple_times_using_andWith (line 114) | public function the_same_relation_can_be_created_multiple_times_using_... method additional_attributes_can_be_passed_inline_for_relations (line 128) | public function additional_attributes_can_be_passed_inline_for_relatio... method it_throws_a_bad_method_call_on_missing_relations (line 140) | public function it_throws_a_bad_method_call_on_missing_relations() method it_accepts_pivot_attributes_on_belongs_to_many_relations (line 148) | public function it_accepts_pivot_attributes_on_belongs_to_many_relatio... method it_accepts_closures_as_pivot_attributes_and_they_will_evaluate_on_each_model (line 161) | public function it_accepts_closures_as_pivot_attributes_and_they_will_... method regression_null_arguments_will_parse_as_state_and_then_ignored (line 180) | public function regression_null_arguments_will_parse_as_state_and_then... method regression_parent_model_is_available_as_second_argument (line 190) | public function regression_parent_model_is_available_as_second_argument() method it_creates_models_with_nested_relations (line 218) | public function it_creates_models_with_nested_relations() method nested_relations_can_be_built_by_closures (line 230) | public function nested_relations_can_be_built_by_closures() method nested_relations_can_be_specified_separate_function_calls (line 251) | public function nested_relations_can_be_specified_separate_function_ca... method it_accepts_model_instances_as_for_belongs_to (line 264) | public function it_accepts_model_instances_as_for_belongs_to() method count_helper_may_be_used_for_dynamic_expressions (line 282) | public function count_helper_may_be_used_for_dynamic_expressions() method fill_helper_may_be_used_to_access_parent (line 294) | public function fill_helper_may_be_used_to_access_parent() method inherit_helper_may_be_used_to_fill_attributes_from_parent (line 304) | public function inherit_helper_may_be_used_to_fill_attributes_from_par... method sequence_helper_may_be_used_to_apply_different_states (line 314) | public function sequence_helper_may_be_used_to_apply_different_states() method regression_it_doesnt_create_belongs_to_relations_when_given_a_count_of_zero (line 325) | public function regression_it_doesnt_create_belongs_to_relations_when_... FILE: tests/Feature/StateTest.php class StateTest (line 11) | class StateTest extends TestCase method it_can_apply_a_state (line 16) | public function it_can_apply_a_state() method it_filters_null_args (line 24) | public function it_filters_null_args() method it_throws_exception_when_missing_state (line 32) | public function it_throws_exception_when_missing_state() method multiple_states_can_be_passed_for_relations_inline_individually (line 40) | public function multiple_states_can_be_passed_for_relations_inline_ind... method multiple_states_can_be_passed_for_relations_inline_as_array (line 52) | public function multiple_states_can_be_passed_for_relations_inline_as_... method it_can_apply_what_was_formerly_know_as_a_preset (line 64) | public function it_can_apply_what_was_formerly_know_as_a_preset() method presets_can_be_passed_for_relations_inline (line 73) | public function presets_can_be_passed_for_relations_inline() method regression_states_works_with_nested_relations (line 85) | public function regression_states_works_with_nested_relations() method sequence_accepts_state_names (line 98) | public function sequence_accepts_state_names() FILE: tests/Stubs/Company.php class Company (line 7) | class Company extends Model method customers (line 15) | public function customers() method departments (line 20) | public function departments() method logo (line 25) | public function logo() method owner (line 30) | public function owner() FILE: tests/Stubs/Customer.php class Customer (line 7) | class Customer extends Model FILE: tests/Stubs/Department.php class Department (line 7) | class Department extends Model method company (line 11) | public function company() method employees (line 16) | public function employees() method manager (line 21) | public function manager() FILE: tests/Stubs/HasFactory.php type HasFactory (line 5) | trait HasFactory method newFactory (line 14) | protected static function newFactory() FILE: tests/Stubs/Image.php class Image (line 7) | class Image extends Model method imageable (line 11) | public function imageable() FILE: tests/Stubs/User.php class User (line 7) | class User extends Authenticatable method departments (line 23) | public function departments() FILE: tests/TestCase.php class TestCase (line 9) | class TestCase extends BaseTestCase method createApplication (line 21) | public function createApplication() method factory (line 48) | protected function factory($class = null) FILE: tests/database/factories/CompanyFactory.php class CompanyFactory (line 9) | class CompanyFactory extends Factory method definition (line 13) | public function definition() method startup (line 20) | public function startup() method withOwner (line 27) | public function withOwner() FILE: tests/database/factories/CustomerFactory.php class CustomerFactory (line 8) | class CustomerFactory extends Factory method happy (line 12) | public function happy() method unhappy (line 19) | public function unhappy() FILE: tests/database/factories/DepartmentFactory.php class DepartmentFactory (line 8) | class DepartmentFactory extends Factory method definition (line 12) | public function definition() method active (line 19) | public function active() method flagship (line 26) | public function flagship() method mediumSized (line 33) | public function mediumSized() FILE: tests/database/factories/UserFactory.php class UserFactory (line 8) | class UserFactory extends Factory method definition (line 12) | public function definition() FILE: tests/database/migrations/2018_04_27_000000_create_test_tables.php class CreateTestTables (line 7) | class CreateTestTables extends Migration method up (line 12) | public function up() method createTables (line 18) | protected function createTables($connection)