| 1 | <?php |
||
| 19 | class ArticleExampleFactory extends AbstractExampleFactory |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var FactoryInterface |
||
| 23 | */ |
||
| 24 | private $articleFactory; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var \Faker\Generator |
||
| 28 | */ |
||
| 29 | private $faker; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var OptionsResolver |
||
| 33 | */ |
||
| 34 | private $optionsResolver; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param FactoryInterface $articleFactory |
||
| 38 | */ |
||
| 39 | public function __construct(FactoryInterface $articleFactory) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | protected function configureOptions(OptionsResolver $resolver) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function create(array $options = []) |
||
| 73 | } |
||
| 74 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.