| 1 | <?php |
||
| 12 | class SQLLoggerCollectorOptions extends AbstractOptions |
||
| 13 | { |
||
| 14 | /** @var string name to be assigned to the collector */ |
||
| 15 | protected $name = 'orm_default'; |
||
| 16 | |||
| 17 | /** @var string|null service name of the configuration where the logger has to be put */ |
||
| 18 | protected $configuration; |
||
| 19 | |||
| 20 | /** @var string|null service name of the SQLLogger to be used */ |
||
| 21 | protected $sqlLogger; |
||
| 22 | |||
| 23 | 2 | public function setName(?string $name) : void |
|
| 27 | |||
| 28 | /** |
||
| 29 | * Name of the collector |
||
| 30 | */ |
||
| 31 | 6 | public function getName() : string |
|
| 35 | |||
| 36 | 2 | public function setConfiguration(?string $configuration) : void |
|
| 40 | |||
| 41 | /** |
||
| 42 | * Configuration service name (where to set the logger) |
||
| 43 | */ |
||
| 44 | 6 | public function getConfiguration() : string |
|
| 48 | |||
| 49 | 3 | public function setSqlLogger(?string $sqlLogger) : void |
|
| 53 | |||
| 54 | /** |
||
| 55 | * SQLLogger service name |
||
| 56 | */ |
||
| 57 | 6 | public function getSqlLogger() : ?string |
|
| 61 | } |
||
| 62 |