Azathoth42

Untitled

Nov 9th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.59 KB | None | 0 0
  1. - Faker\Factory
  2. - App\MockAndOptimalization\FakeEntitiesCreator(@Faker\Factory::create(cs_CZ))
  3. hlásí:
  4. 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?
  5.  
  6.  
  7. factory: Faker\Factory
  8. - App\MockAndOptimalization\FakeEntitiesCreator(factory::create(cs_CZ))
  9. hlásí:
  10. 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?
  11.  
  12. factory: Faker\Factory
  13. generator: factory::create(cs_CZ)
  14. - App\MockAndOptimalization\FakeEntitiesCreator
  15. hlásí:
  16. Factory 'factory::create' used in service 'generator' is not callable.
  17. i když zavolání \Faker\Factory::create("cs_CZ"); mi jinde v kódu funguje
  18.  
  19. factory: Faker\Factory
  20. generator: factory::create("cs_CZ")
  21. - App\MockAndOptimalization\FakeEntitiesCreator
  22. to samé jako výše uvedené
  23.  
  24. - Faker\Factory
  25. generator: @Faker\Factory::create("cs_CZ")
  26. - App\MockAndOptimalization\FakeEntitiesCreator
  27. hlásí:
  28. 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?
  29.  
  30. FakeEntitiesCreator:
  31. public function __construct(\Kdyby\Doctrine\EntityManager $entityManager, \Faker\Generator $generator) {
  32.         $this->entityManager = $entityManager;
  33.         $this->generator = $generator;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment