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