Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - Faker\Factory
- - App\MockAndOptimalization\FakeEntitiesCreator(@Faker\Factory::create(cs_CZ))
- hlásí:
- Service '191_App_MockAndOptimalization_FakeEntitiesCreator': Service of type Faker\Generator needed by App\MockAndOptimalization\FakeEntitiesCreator::__construct() not found. Did you register it in configuration file?
- factory: Faker\Factory
- - App\MockAndOptimalization\FakeEntitiesCreator(factory::create(cs_CZ))
- hlásí:
- Service '191_App_MockAndOptimalization_FakeEntitiesCreator': Service of type Faker\Generator needed by App\MockAndOptimalization\FakeEntitiesCreator::__construct() not found. Did you register it in configuration file?
- factory: Faker\Factory
- generator: factory::create(cs_CZ)
- - App\MockAndOptimalization\FakeEntitiesCreator
- hlásí:
- Factory 'factory::create' used in service 'generator' is not callable.
- i když zavolání \Faker\Factory::create("cs_CZ"); mi jinde v kódu funguje
- factory: Faker\Factory
- generator: factory::create("cs_CZ")
- - App\MockAndOptimalization\FakeEntitiesCreator
- to samé jako výše uvedené
- - Faker\Factory
- generator: @Faker\Factory::create("cs_CZ")
- - App\MockAndOptimalization\FakeEntitiesCreator
- hlásí:
- Service '158_App_MockAndOptimalization_FakeEntitiesCreator': Service of type Faker\Generator needed by App\MockAndOptimalization\FakeEntitiesCreator::__construct() not found. Did you register it in configuration file?
- FakeEntitiesCreator:
- public function __construct(\Kdyby\Doctrine\EntityManager $entityManager, \Faker\Generator $generator) {
- $this->entityManager = $entityManager;
- $this->generator = $generator;
- }
Advertisement
Add Comment
Please, Sign In to add comment