This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Messaging user level disable/enable (#37)
* feat: Disable/enabling messaging * feat: Show/hide menu disable/enable commands. fix: Messaging around enable/disable * fix: Side navigation to work for all conversation section * fix: RouteParam added for all conversation controllers * feat: Unit tests for cotroller and route param * feat: Bump olcs-transfer
- Loading branch information
Showing
24 changed files
with
1,166 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
.../Olcs/src/Controller/Factory/Messages/LicenceDisableConversationListControllerFactory.php
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
...e/Olcs/src/Controller/Factory/Messages/LicenceEnableDisableMessagingControllerFactory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Olcs\Controller\Factory\Messages; | ||
|
||
use Common\Service\Data\PluginManager; | ||
use Common\Service\Helper\ComplaintsHelperService; | ||
use Common\Service\Helper\FlashMessengerHelperService; | ||
use Common\Service\Helper\FormHelperService; | ||
use Common\Service\Helper\OppositionHelperService; | ||
use Common\Service\Helper\UrlHelperService; | ||
use Common\Service\Script\ScriptFactory; | ||
use Common\Service\Table\TableFactory; | ||
use Interop\Container\ContainerInterface; | ||
use Laminas\ServiceManager\Factory\FactoryInterface; | ||
use Laminas\View\HelperPluginManager; | ||
use Olcs\Controller\Messages\LicenceEnableDisableMessagingController; | ||
|
||
class LicenceEnableDisableMessagingControllerFactory implements FactoryInterface | ||
{ | ||
public function __invoke(ContainerInterface $container, $requestedName, array $options = null): LicenceEnableDisableMessagingController | ||
{ | ||
$scriptFactory = $container->get(ScriptFactory::class); | ||
$formHelper = $container->get(FormHelperService::class); | ||
$tableFactory = $container->get(TableFactory::class); | ||
$viewHelperManager = $container->get(HelperPluginManager::class); | ||
$dataServiceManager = $container->get(PluginManager::class); | ||
$oppositionHelper = $container->get(OppositionHelperService::class); | ||
$complaintsHelper = $container->get(ComplaintsHelperService::class); | ||
$flashMessengerHelper = $container->get(FlashMessengerHelperService::class); | ||
$urlHelper = $container->get(UrlHelperService::class); | ||
|
||
return new LicenceEnableDisableMessagingController( | ||
$scriptFactory, | ||
$formHelper, | ||
$tableFactory, | ||
$viewHelperManager, | ||
$dataServiceManager, | ||
$oppositionHelper, | ||
$complaintsHelper, | ||
$flashMessengerHelper, | ||
$urlHelper, | ||
); | ||
} | ||
} |
Oops, something went wrong.