Timezones
ExtensionHelperService.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
* This file is part of the package thucke/timezones.
7
*
8
* For the full copyright and license information, please read the
9
* LICENSE file that was distributed with this source code.
10
*/
11
12
namespace
Thucke\Timezones\Service
;
13
14
use Psr\Log\LoggerInterface;
15
23
class
ExtensionHelperService
extends
AbstractExtensionService
24
{
28
protected
$loggingService
;
29
33
public
function
injectLoggingService
(
LoggingService
$loggingService
): void
34
{
35
$this->loggingService =
$loggingService
;
36
}
37
46
public
function
getLogger
(
string
$name): LoggerInterface
47
{
48
return
$this->loggingService->getLogger($name);
49
}
50
}
Thucke\Timezones\Service\AbstractExtensionService
Definition:
AbstractExtensionService.php:26
Thucke\Timezones\Service\ExtensionHelperService
Definition:
ExtensionHelperService.php:24
Thucke\Timezones\Service\ExtensionHelperService\getLogger
getLogger(string $name)
Definition:
ExtensionHelperService.php:46
Thucke\Timezones\Service\ExtensionHelperService\$loggingService
$loggingService
Definition:
ExtensionHelperService.php:28
Thucke\Timezones\Service\ExtensionHelperService\injectLoggingService
injectLoggingService(LoggingService $loggingService)
Definition:
ExtensionHelperService.php:33
Thucke\Timezones\Service\LoggingService
Definition:
LoggingService.php:30
Thucke\Timezones\Service
Definition:
AbstractExtensionService.php:12
source
Classes
Service
ExtensionHelperService.php
Generated by
1.9.3