File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 5
5
use Laudis \Neo4j \Contracts \ClientInterface ;
6
6
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
7
7
use Symfony \Component \HttpFoundation \Response ;
8
- use Symfony \Component \Routing \Attribute \Route ;
9
8
10
9
class TestController extends AbstractController
11
10
{
@@ -15,12 +14,6 @@ public function __construct(
15
14
}
16
15
17
16
public function __invoke (): Response
18
- {
19
- return $ this ->index ();
20
- }
21
-
22
- #[Route('/ ' , methods: ['GET ' ])]
23
- public function index (): Response
24
17
{
25
18
$ this ->client ->run ('MATCH (n) RETURN n ' );
26
19
$ this ->client ->run ('MATCH (n) RETURN n ' );
Original file line number Diff line number Diff line change 1
- controllers :
2
- resource : ' ../Controller/ '
3
- type : attribute
1
+ test :
2
+ path : /
3
+ controller : Neo4j\Neo4jBundle\Tests\App\Controller\TestController
You can’t perform that action at this time.
0 commit comments