18 lines
317 B
PHP
18 lines
317 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace KupShop\GraphQLBundle\ApiPublic\Controller;
|
|
|
|
use KupShop\GraphQLBundle\ApiPublic\Types\Contexts;
|
|
use TheCodingMachine\GraphQLite\Annotations\Query;
|
|
|
|
class ContextController
|
|
{
|
|
#[Query]
|
|
public function contexts(): Contexts
|
|
{
|
|
return new Contexts();
|
|
}
|
|
}
|