Skip to content
Snippets Groups Projects
Commit 6e863870 authored by Gregor Gawol's avatar Gregor Gawol
Browse files

merge boss-client into boss-module

parent fe1151cb
Branches
Tags
No related merge requests found
Pipeline #1798 passed with stage
in 13 seconds
......@@ -20,7 +20,6 @@
*/
namespace finc\Boss\Client;
use finc\Boss\Client\BossClient as BossClient;
use Interop\Container\ContainerInterface;
use Psr\Http\Client\ClientInterface;
......
......@@ -20,6 +20,11 @@
*/
namespace finc\Boss;
use finc\Boss\AjaxHandler\GetBoss;
use finc\Boss\AjaxHandler\GetBossFactory;
use finc\Boss\Client\BossClient;
use finc\Boss\Client\BossClientFactory;
class Module
{
public function __construct()
......@@ -38,20 +43,14 @@ class Module
'service_manager' => [
'allow_override' => true,
'factories' => [
'finc\Boss\Client\Client\BossClient' => 'finc\Boss\Client\Client\ClientFactory'
],
'aliases' => [
'finc\BossClient' => 'finc\Boss\Client\Client\BossClient'
BossClient::class => BossClientFactory::class
]
],
'vufind' => [
'plugin_managers' => [
'ajaxhandler' => [
'factories' => [
'finc\Boss\AjaxHandler\GetBoss' => 'finc\Boss\AjaxHandler\GetBossFactory'
],
'aliases' => [
'getBoss' => 'finc\Boss\AjaxHandler\GetBoss'
GetBoss::class => GetBossFactory::class
]
]
]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment