Darken Docs
Attributes\ConstructorParam
Attributes\Hooks\ConstructorParamHook
Attributes\Hooks\InjectHook
Attributes\Hooks\MiddlewareHook
Attributes\Hooks\PostParamHook
Attributes\Hooks\QueryParamHook
Attributes\Hooks\RouteParamHook
Attributes\Hooks\SlotHook
Attributes\Inject
Attributes\Middleware
Attributes\PostParam
Attributes\QueryParam
Attributes\RouteParam
Attributes\Slot
Builder\CodeCompiler
Builder\CodeCompilerOutput
Builder\Compiler\DataExtractorVisitor
Builder\Compiler\Extractor\AttributeExtractorInterface
Builder\Compiler\Extractor\AttributeExtractorTrait
Builder\Compiler\Extractor\ClassAttribute
Builder\Compiler\Extractor\PropertyAttribute
Builder\Compiler\GlobalVisitor
Builder\Compiler\PropertyExtractor
Builder\Compiler\UseStatementCollector
Builder\ExtensionFile
Builder\FileSaveInterface
Builder\Hooks\AttributeHookInterface
Builder\Hooks\ClassAttributeHook
Builder\Hooks\HookHelperTrait
Builder\Hooks\PropertyAttributeHook
Builder\InputFile
Builder\OutputCompiled
Builder\OutputPage
Builder\OutputPolyfill
Builder\Polyfill\Creator
Code\InvokeResponseInterface
Code\InvokeStringInterface
Code\Runtime
Code\RuntimeInterface
Config\BaseConfig
Config\ConfigHelperTrait
Config\ConfigInterface
Config\PagesConfigInterface
Console\Application
Console\CommandInterface
Console\Commands\Build
Console\Commands\Dev
Console\Commands\FileBuildProcess
Console\Commands\Watch
Events\AfterBuildEvent
Events\EventDispatchInterface
Events\EventInterface
Kernel
Middleware\AddCustomHeaderMiddleware
Middleware\AuthenticationMiddleware
Middleware\CorsMiddleware
Service\ContainerService
Service\ContainerServiceInterface
Service\EventService
Service\EventServiceInterface
Service\Extension
Service\ExtensionInterface
Service\ExtensionService
←
Service\ExtensionServiceInterface
Service\MiddlewareService
Service\MiddlewareServiceInterface
Web\Application
Web\PageHandler
Web\Request
Web\Response
Guide
API
Darken\Service\ExtensionService
class
Methods
__construct(Darken\Kernel $kernel)
register(Darken\Service\ExtensionInterface $extension)
Method Details
public
__construct
(
Darken\Kernel
$kernel
)
ExtensionService.php#11
$kernel
Darken\Kernel
public
self
register
(
Darken\Service\ExtensionInterface
$extension
)
ExtensionService.php#16
$extension
Darken\Service\ExtensionInterface
Return
self