MDL-81525 core: Improve hook docs

This commit is contained in:
Andrew Nicols
2024-04-15 13:05:08 +08:00
parent 8be87eb633
commit eb2c2117a0
+2 -1
View File
@@ -26,7 +26,7 @@ use core\attribute\label;
* @copyright 2023 Andrew Lyons <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
#[label('The DI container, which allows plugins to register any service requiring configuration or initialisation.')]
#[label('A hook to allow per-component configuration of the DI container.')]
class di_configuration {
/**
* Create the Dependency Injection configuration hook instance.
@@ -34,6 +34,7 @@ class di_configuration {
* @param ContainerBuilder $builder
*/
public function __construct(
/** @var ContainerBuilder The PHP-DI Builder */
protected ContainerBuilder $builder,
) {
}