mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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;
|
||||
|
||||
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');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user