mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
Update Test controller.
This commit is contained in:
parent
407ff9a725
commit
c14cb7b1bd
@ -10,22 +10,24 @@ declare(strict_types=1);
|
|||||||
namespace Chill\WopiBundle\Controller;
|
namespace Chill\WopiBundle\Controller;
|
||||||
|
|
||||||
use Chill\WopiBundle\Service\OpenStack\OpenStackClientInterface;
|
use Chill\WopiBundle\Service\OpenStack\OpenStackClientInterface;
|
||||||
|
use OpenStack\OpenStack;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
final class Test
|
final class Test
|
||||||
{
|
{
|
||||||
private OpenStackClientInterface $client;
|
private OpenStackClientInterface $client;
|
||||||
|
|
||||||
public function __construct(OpenStackClientInterface $client)
|
private OpenStack $osClient;
|
||||||
|
|
||||||
|
public function __construct(OpenStackClientInterface $client, OpenStack $osClient)
|
||||||
{
|
{
|
||||||
$this->client = $client;
|
$this->client = $client;
|
||||||
|
$this->osClient = $osClient;
|
||||||
var_dump($client);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __invoke()
|
public function __invoke()
|
||||||
{
|
{
|
||||||
dump($this->client);
|
dump($this->osClient);
|
||||||
|
|
||||||
return new Response('fobar');
|
return new Response('fobar');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user