src/eXpansion/Framework/Core/Helpers/ChatNotification.php 1 location
|
@@ 48-60 (lines=13) @@
|
| 45 |
|
* @param Console $console |
| 46 |
|
* @param LoggerInterface $logger |
| 47 |
|
*/ |
| 48 |
|
public function __construct( |
| 49 |
|
Factory $connectionFactory, |
| 50 |
|
Translations $translations, |
| 51 |
|
PlayerStorage $playerStorage, |
| 52 |
|
Console $console, |
| 53 |
|
LoggerInterface $logger |
| 54 |
|
) { |
| 55 |
|
$this->factory = $connectionFactory; |
| 56 |
|
$this->translations = $translations; |
| 57 |
|
$this->playerStorage = $playerStorage; |
| 58 |
|
$this->console = $console; |
| 59 |
|
$this->logger = $logger; |
| 60 |
|
} |
| 61 |
|
|
| 62 |
|
/** |
| 63 |
|
* Send message. |
src/eXpansion/Framework/Core/Plugins/GuiHandler.php 1 location
|
@@ 75-87 (lines=13) @@
|
| 72 |
|
* @param ActionFactory $actionFactory |
| 73 |
|
* @param int $charLimit |
| 74 |
|
*/ |
| 75 |
|
public function __construct( |
| 76 |
|
Factory $factory, |
| 77 |
|
LoggerInterface $logger, |
| 78 |
|
Console $console, |
| 79 |
|
ActionFactory $actionFactory, |
| 80 |
|
$charLimit = 262144 |
| 81 |
|
) { |
| 82 |
|
$this->factory = $factory; |
| 83 |
|
$this->logger = $logger; |
| 84 |
|
$this->console = $console; |
| 85 |
|
$this->actionFactory = $actionFactory; |
| 86 |
|
$this->charLimit = $charLimit; |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
/** |
| 90 |
|
* @inheritdoc |
src/eXpansion/Framework/Core/Services/Application/AbstractApplication.php 1 location
|
@@ 54-66 (lines=13) @@
|
| 51 |
|
* @param LoggerInterface $logger |
| 52 |
|
* @param Version $version |
| 53 |
|
*/ |
| 54 |
|
public function __construct( |
| 55 |
|
DispatcherInterface $dispatcher, |
| 56 |
|
Factory $factory, |
| 57 |
|
Console $output, |
| 58 |
|
LoggerInterface $logger, |
| 59 |
|
Version $version |
| 60 |
|
) { |
| 61 |
|
$this->factory = $factory; |
| 62 |
|
$this->dispatcher = $dispatcher; |
| 63 |
|
$this->console = $output; |
| 64 |
|
$this->logger = $logger; |
| 65 |
|
$this->version = $version; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* Initialize eXpansion. |