| 1 | <?php |
||
| 8 | class DoctrineEndpoint |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var ObjectManager |
||
| 12 | */ |
||
| 13 | private $objectManager; |
||
| 14 | |||
| 15 | private $chunkSize = null; |
||
| 16 | private $currentChunkCount = 0; |
||
| 17 | |||
| 18 | public function __construct(ObjectManager $objectManager, $chunkSize = null) |
||
| 23 | |||
| 24 | public function add($entity) |
||
| 34 | |||
| 35 | protected function chunkCompleted() |
||
| 39 | |||
| 40 | public function prepare(ImportProcessEvent $event) |
||
| 44 | |||
| 45 | public function finish(ImportProcessEvent $event) |
||
| 49 | |||
| 50 | public function rollback() |
||
| 53 | } |
||
| 54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.