| 1 | <?php |
||
| 12 | abstract class ControllerBase extends CoreControllerBase { |
||
|
|
|||
| 13 | |||
| 14 | use LoggerAwareTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The items_per_page configuration value. |
||
| 18 | * |
||
| 19 | * @var int |
||
| 20 | */ |
||
| 21 | protected $itemsPerPage; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The MongoDB logger, to load events. |
||
| 25 | * |
||
| 26 | * @var \Drupal\mongodb_watchdog\Logger |
||
| 27 | */ |
||
| 28 | protected $watchdog; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * ControllerBase constructor. |
||
| 32 | * |
||
| 33 | * @param \Drupal\Core\Config\ImmutableConfig $config |
||
| 34 | * The module configuration. |
||
| 35 | */ |
||
| 36 | public function __construct(LoggerInterface $logger, Logger $watchdog, ImmutableConfig $config) { |
||
| 42 | |||
| 43 | public static function create(ContainerInterface $container) { |
||
| 49 | } |
||
| 50 |