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 55use Laudis \Neo4j \Contracts \ClientInterface ;
66use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
77use Symfony \Component \HttpFoundation \Response ;
8- use Symfony \Component \Routing \Attribute \Route ;
98
109class TestController extends AbstractController
1110{
@@ -15,12 +14,6 @@ public function __construct(
1514 }
1615
1716 public function __invoke (): Response
18- {
19- return $ this ->index ();
20- }
21-
22- #[Route('/ ' , methods: ['GET ' ])]
23- public function index (): Response
2417 {
2518 $ this ->client ->run ('MATCH (n) RETURN n ' );
2619 $ 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