SYMBOL INDEX (157 symbols across 27 files) FILE: src/Commands/ResourceCommand.php class ResourceCommand (line 18) | class ResourceCommand extends Command method modelExists (line 72) | private function modelExists() method createModelResources (line 82) | private function createModelResources() method createResources (line 96) | private function createResources() method handle (line 124) | public function handle() FILE: src/Exceptions/File.php class File (line 7) | class File extends Exception method alreadyExistsInDirectory (line 9) | public static function alreadyExistsInDirectory(string $path) method doesNotExists (line 14) | public static function doesNotExists(string $path) FILE: src/Generators/AbstractGenerator.php class AbstractGenerator (line 8) | abstract class AbstractGenerator implements Generator method __construct (line 22) | public function __construct($model) method directoryExists (line 32) | public function directoryExists($path) method fileAlreadyExists (line 42) | public function fileAlreadyExists($path) method fileName (line 54) | public function fileName() FILE: src/Generators/CollectionGenerator.php class CollectionGenerator (line 7) | class CollectionGenerator extends AbstractGenerator method getStub (line 14) | public function getStub() method replacements (line 24) | public function replacements() method className (line 39) | public function className() method handle (line 49) | public function handle() FILE: src/Generators/ControllerGenerator.php class ControllerGenerator (line 8) | class ControllerGenerator extends AbstractGenerator method getStub (line 15) | public function getStub() method replacements (line 25) | public function replacements() method methodsReplacements (line 47) | private function methodsReplacements() method modelReplacements (line 73) | public function modelReplacements() method requestReplacements (line 87) | public function requestReplacements() method className (line 102) | public function className() method handle (line 112) | public function handle() FILE: src/Generators/FactoryGenerator.php class FactoryGenerator (line 7) | class FactoryGenerator extends AbstractGenerator method getStub (line 14) | public function getStub() method replacements (line 24) | public function replacements() method className (line 38) | public function className() method handle (line 48) | public function handle() FILE: src/Generators/Generator.php type Generator (line 5) | interface Generator method getStub (line 7) | public function getStub(); method replacements (line 9) | public function replacements(); method fileAlreadyExists (line 11) | public function fileAlreadyExists($path); method directoryExists (line 13) | public function directoryExists($path); method className (line 15) | public function className(); method fileName (line 17) | public function fileName(); method handle (line 19) | public function handle(); FILE: src/Generators/MigrationGenerator.php class MigrationGenerator (line 9) | class MigrationGenerator extends AbstractGenerator method getStub (line 16) | public function getStub() method replacements (line 26) | public function replacements() method className (line 39) | public function className() method fileName (line 51) | public function fileName() method handle (line 64) | public function handle() FILE: src/Generators/ModelGenerator.php class ModelGenerator (line 7) | class ModelGenerator extends AbstractGenerator method getStub (line 14) | public function getStub() method replacements (line 24) | public function replacements() method className (line 37) | public function className() method handle (line 47) | public function handle() FILE: src/Generators/PolicyGenerator.php class PolicyGenerator (line 7) | class PolicyGenerator extends AbstractGenerator method getStub (line 14) | public function getStub() method replacements (line 24) | public function replacements() method className (line 41) | public function className() method handle (line 51) | public function handle() FILE: src/Generators/RequestGenerator.php class RequestGenerator (line 7) | class RequestGenerator extends AbstractGenerator method getStub (line 14) | public function getStub() method replacements (line 24) | public function replacements() method className (line 37) | public function className() method handle (line 47) | public function handle() FILE: src/Generators/ResourceGenerator.php class ResourceGenerator (line 7) | class ResourceGenerator extends AbstractGenerator method getStub (line 14) | public function getStub() method replacements (line 24) | public function replacements() method className (line 37) | public function className() method handle (line 47) | public function handle() FILE: src/Generators/RouteGenerator.php class RouteGenerator (line 9) | class RouteGenerator extends AbstractGenerator method getStub (line 16) | public function getStub() method replacements (line 26) | public function replacements() method fileAlreadyExists (line 41) | public function fileAlreadyExists($path) method className (line 53) | public function className() method fileName (line 63) | public function fileName() method handle (line 73) | public function handle() method generateControllerName (line 99) | private function generateControllerName() FILE: src/Generators/SeederGenerator.php class SeederGenerator (line 8) | class SeederGenerator extends AbstractGenerator method getStub (line 15) | public function getStub() method replacements (line 25) | public function replacements() method className (line 40) | public function className() method handle (line 52) | public function handle() FILE: src/Helpers/helpers.php function make_directory (line 16) | function make_directory($path, int $mode = 0755, bool $recursive = true,... function namespace_path (line 29) | function namespace_path($path) function create_class_name (line 42) | function create_class_name($model, $resource) FILE: src/LaravelResourcesServiceProvider.php class LaravelResourcesServiceProvider (line 7) | class LaravelResourcesServiceProvider extends ServiceProvider method boot (line 23) | public function boot() method register (line 36) | public function register() method bootForConsole (line 46) | protected function bootForConsole() FILE: tests/CollectionGeneratorTest.php class CollectionGeneratorTest (line 7) | class CollectionGeneratorTest extends TestCase method it_generates_the_right_filename (line 10) | public function it_generates_the_right_filename() method it_generates_the_right_class_name (line 20) | public function it_generates_the_right_class_name() method it_creates_the_collection_file (line 30) | public function it_creates_the_collection_file() method it_creates_the_collection_in_the_config_namespace (line 41) | public function it_creates_the_collection_in_the_config_namespace() method it_generates_the_name_with_the_suffix_defined_in_the_configuration_file_for_the_collection (line 54) | public function it_generates_the_name_with_the_suffix_defined_in_the_c... method it_generates_the_name_with_the_prefix_defined_in_the_configuration_file_for_the_collection (line 66) | public function it_generates_the_name_with_the_prefix_defined_in_the_c... method it_generates_the_name_with_the_suffix_and_prefix_defined_in_the_configuration_file_for_the_collection (line 78) | public function it_generates_the_name_with_the_suffix_and_prefix_defin... FILE: tests/ControllerGeneratorTest.php class ControllerGeneratorTest (line 7) | class ControllerGeneratorTest extends TestCase method it_generates_the_right_filename (line 10) | public function it_generates_the_right_filename() method it_generates_the_right_class_name (line 20) | public function it_generates_the_right_class_name() method it_creates_the_controller_file (line 30) | public function it_creates_the_controller_file() method it_creates_the_controller_in_the_config_namespace (line 42) | public function it_creates_the_controller_in_the_config_namespace() method it_generates_the_name_with_the_suffix_defined_in_the_configuration_file_for_the_controller (line 56) | public function it_generates_the_name_with_the_suffix_defined_in_the_c... method it_generates_the_name_with_the_prefix_defined_in_the_configuration_file_for_the_controller (line 68) | public function it_generates_the_name_with_the_prefix_defined_in_the_c... method it_generates_the_name_with_the_suffix_and_prefix_defined_in_the_configuration_file_for_the_controller (line 80) | public function it_generates_the_name_with_the_suffix_and_prefix_defin... FILE: tests/FactoryGeneratorTest.php class FactoryGeneratorTest (line 7) | class FactoryGeneratorTest extends TestCase method it_generates_the_right_class_name (line 10) | public function it_generates_the_right_class_name() method it_creates_the_migration_file (line 20) | public function it_creates_the_migration_file() method it_creates_the_migration_in_the_config_namespace (line 32) | public function it_creates_the_migration_in_the_config_namespace() method it_creates_the_migration_in_the_default_namespace (line 46) | public function it_creates_the_migration_in_the_default_namespace() FILE: tests/MigrationGeneratorTest.php class MigrationGeneratorTest (line 7) | class MigrationGeneratorTest extends TestCase method it_generates_the_right_class_name (line 10) | public function it_generates_the_right_class_name() method it_creates_the_migration_file (line 20) | public function it_creates_the_migration_file() method it_creates_the_migration_in_the_config_namespace (line 32) | public function it_creates_the_migration_in_the_config_namespace() method it_creates_the_migration_in_the_default_namespace (line 46) | public function it_creates_the_migration_in_the_default_namespace() FILE: tests/ModelGeneratorTest.php class ModelGeneratorTest (line 7) | class ModelGeneratorTest extends TestCase method it_creates_the_model_file (line 17) | public function it_creates_the_model_file() method it_creates_the_model_in_the_config_namespace (line 29) | public function it_creates_the_model_in_the_config_namespace() FILE: tests/PolicyGeneratorTest.php class PolicyGeneratorTest (line 7) | class PolicyGeneratorTest extends TestCase method it_generates_the_right_filename (line 10) | public function it_generates_the_right_filename() method it_generates_the_right_class_name (line 20) | public function it_generates_the_right_class_name() method it_creates_the_policy_file (line 30) | public function it_creates_the_policy_file() method it_creates_the_policy_in_the_config_namespace (line 42) | public function it_creates_the_policy_in_the_config_namespace() method it_generates_the_name_with_the_suffix_defined_in_the_configuration_file_for_the_policy (line 56) | public function it_generates_the_name_with_the_suffix_defined_in_the_c... method it_generates_the_name_with_the_prefix_defined_in_the_configuration_file_for_the_policy (line 68) | public function it_generates_the_name_with_the_prefix_defined_in_the_c... method it_generates_the_name_with_the_suffix_and_prefix_defined_in_the_configuration_file_for_the_policy (line 80) | public function it_generates_the_name_with_the_suffix_and_prefix_defin... FILE: tests/RequestGeneratorTest.php class RequestGeneratorTest (line 7) | class RequestGeneratorTest extends TestCase method it_generates_the_right_filename (line 10) | public function it_generates_the_right_filename() method it_generates_the_right_class_name (line 20) | public function it_generates_the_right_class_name() method it_creates_the_request_file (line 30) | public function it_creates_the_request_file() method it_creates_the_request_in_the_config_namespace (line 42) | public function it_creates_the_request_in_the_config_namespace() method it_generates_the_name_with_the_suffix_defined_in_the_configuration_file_for_the_request (line 56) | public function it_generates_the_name_with_the_suffix_defined_in_the_c... method it_generates_the_name_with_the_prefix_defined_in_the_configuration_file_for_the_request (line 68) | public function it_generates_the_name_with_the_prefix_defined_in_the_c... method it_generates_the_name_with_the_suffix_and_prefix_defined_in_the_configuration_file_for_the_request (line 80) | public function it_generates_the_name_with_the_suffix_and_prefix_defin... FILE: tests/ResourceCommandTest.php class ResourceCommandTest (line 7) | class ResourceCommandTest extends TestCase method it_should_not_create_the_model_if_it_does_not_exists_and_the_user_deny_the_question (line 10) | public function it_should_not_create_the_model_if_it_does_not_exists_a... method it_creates_the_model_if_it_does_not_exists_and_the_user_accepts_the_question (line 20) | public function it_creates_the_model_if_it_does_not_exists_and_the_use... method it_creates_the_migration_when_the_response_to_the_question_is_true (line 30) | public function it_creates_the_migration_when_the_response_to_the_ques... method it_creates_the_factory_when_the_response_to_the_question_is_true (line 38) | public function it_creates_the_factory_when_the_response_to_the_questi... method it_creates_the_seeder_when_the_response_to_the_question_is_true (line 46) | public function it_creates_the_seeder_when_the_response_to_the_questio... method it_creates_the_all_files_when_the_response_to_the_question_is_always_true (line 56) | public function it_creates_the_all_files_when_the_response_to_the_ques... method defaultQuestions (line 68) | protected function defaultQuestions($args = [], $shouldCreate = true) FILE: tests/ResourceGeneratorTest.php class ResourceGeneratorTest (line 7) | class ResourceGeneratorTest extends TestCase method it_generates_the_right_filename (line 10) | public function it_generates_the_right_filename() method it_generates_the_right_class_name (line 20) | public function it_generates_the_right_class_name() method it_creates_the_resource_file (line 30) | public function it_creates_the_resource_file() method it_creates_the_request_in_the_config_namespace (line 42) | public function it_creates_the_request_in_the_config_namespace() method it_generates_the_name_with_the_suffix_defined_in_the_configuration_file_for_the_resource (line 56) | public function it_generates_the_name_with_the_suffix_defined_in_the_c... method it_generates_the_name_with_the_prefix_defined_in_the_configuration_file_for_the_resource (line 68) | public function it_generates_the_name_with_the_prefix_defined_in_the_c... method it_generates_the_name_with_the_suffix_and_prefix_defined_in_the_configuration_file_for_the_resource (line 80) | public function it_generates_the_name_with_the_suffix_and_prefix_defin... FILE: tests/SeederGeneratorTest.php class SeederGeneratorTest (line 7) | class SeederGeneratorTest extends TestCase method it_generates_the_right_class_name (line 10) | public function it_generates_the_right_class_name() method it_creates_the_seeder_file (line 20) | public function it_creates_the_seeder_file() method it_creates_the_seeder_in_the_config_namespace (line 32) | public function it_creates_the_seeder_in_the_config_namespace() method it_creates_the_seeder_in_the_default_namespace (line 46) | public function it_creates_the_seeder_in_the_default_namespace() FILE: tests/TestCase.php class TestCase (line 9) | abstract class TestCase extends Orchestra method setUp (line 23) | protected function setUp(): void method tearDown (line 37) | protected function tearDown(): void method clearDirectories (line 47) | private function clearDirectories() method initialize (line 62) | private function initialize() method getPackageProviders (line 79) | protected function getPackageProviders($app)