| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | class Plugin extends BasePlugin |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | public function bootstrap(PluginApplicationInterface $app) |
||
| 26 | { |
||
| 27 | // Add constants, load configuration defaults. |
||
| 28 | // By default will load `config/bootstrap.php` in the plugin. |
||
| 29 | parent::bootstrap($app); |
||
| 30 | |||
| 31 | self::configureCache(); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Configures the thumbnail cache |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public static function configureCache(): void |
||
| 54 | ] |
||
| 55 | ); |
||
| 58 |