Update Test controller.

This commit is contained in:
Pol Dellaiera 2021-08-10 15:44:21 +02:00 committed by Marc Ducobu
parent 407ff9a725
commit c14cb7b1bd

View File

@ -10,22 +10,24 @@ declare(strict_types=1);
namespace Chill\WopiBundle\Controller;
use Chill\WopiBundle\Service\OpenStack\OpenStackClientInterface;
use OpenStack\OpenStack;
use Symfony\Component\HttpFoundation\Response;
final class Test
{
private OpenStackClientInterface $client;
public function __construct(OpenStackClientInterface $client)
private OpenStack $osClient;
public function __construct(OpenStackClientInterface $client, OpenStack $osClient)
{
$this->client = $client;
var_dump($client);
$this->osClient = $osClient;
}
public function __invoke()
{
dump($this->client);
dump($this->osClient);
return new Response('fobar');
}