File tree Expand file tree Collapse file tree 20 files changed +20
-20
lines changed
ux.symfony.com/src/Controller Expand file tree Collapse file tree 20 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 21
21
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
22
22
use Symfony \Component \HttpFoundation \Request ;
23
23
use Symfony \Component \HttpFoundation \Response ;
24
- use Symfony \Component \Routing \Annotation \Route ;
24
+ use Symfony \Component \Routing \Attribute \Route ;
25
25
26
26
#[Route('/demos/live-component ' )]
27
27
class LiveComponentDemoController extends AbstractController
Original file line number Diff line number Diff line change 14
14
use App \Service \LiveDemoRepository ;
15
15
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
- use Symfony \Component \Routing \Annotation \Route ;
17
+ use Symfony \Component \Routing \Attribute \Route ;
18
18
19
19
class DemosController extends AbstractController
20
20
{
Original file line number Diff line number Diff line change 15
15
use App \Service \UxPackageRepository ;
16
16
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
17
17
use Symfony \Component \HttpFoundation \Response ;
18
- use Symfony \Component \Routing \Annotation \Route ;
18
+ use Symfony \Component \Routing \Attribute \Route ;
19
19
20
20
class MainController extends AbstractController
21
21
{
Original file line number Diff line number Diff line change 18
18
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
19
19
use Symfony \Component \HttpFoundation \Request ;
20
20
use Symfony \Component \HttpFoundation \Response ;
21
- use Symfony \Component \Routing \Annotation \Route ;
21
+ use Symfony \Component \Routing \Attribute \Route ;
22
22
23
23
class AutocompleteController extends AbstractController
24
24
{
Original file line number Diff line number Diff line change 14
14
use App \Service \UxPackageRepository ;
15
15
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
- use Symfony \Component \Routing \Annotation \Route ;
17
+ use Symfony \Component \Routing \Attribute \Route ;
18
18
use Symfony \UX \Chartjs \Builder \ChartBuilderInterface ;
19
19
use Symfony \UX \Chartjs \Model \Chart ;
20
20
Original file line number Diff line number Diff line change 17
17
use Symfony \Component \Form \FormError ;
18
18
use Symfony \Component \HttpFoundation \Request ;
19
19
use Symfony \Component \HttpFoundation \Response ;
20
- use Symfony \Component \Routing \Annotation \Route ;
20
+ use Symfony \Component \Routing \Attribute \Route ;
21
21
use Symfony \UX \Cropperjs \Factory \CropperInterface ;
22
22
use Symfony \UX \Cropperjs \Form \CropperType ;
23
23
Original file line number Diff line number Diff line change 16
16
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
17
17
use Symfony \Component \HttpFoundation \Request ;
18
18
use Symfony \Component \HttpFoundation \Response ;
19
- use Symfony \Component \Routing \Annotation \Route ;
19
+ use Symfony \Component \Routing \Attribute \Route ;
20
20
21
21
class DropzoneController extends AbstractController
22
22
{
Original file line number Diff line number Diff line change 14
14
use App \Service \UxPackageRepository ;
15
15
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
- use Symfony \Component \Routing \Annotation \Route ;
17
+ use Symfony \Component \Routing \Attribute \Route ;
18
18
19
19
class LazyImageController extends AbstractController
20
20
{
Original file line number Diff line number Diff line change 15
15
use App \Service \UxPackageRepository ;
16
16
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
17
17
use Symfony \Component \HttpFoundation \Response ;
18
- use Symfony \Component \Routing \Annotation \Route ;
18
+ use Symfony \Component \Routing \Attribute \Route ;
19
19
20
20
class LiveComponentController extends AbstractController
21
21
{
Original file line number Diff line number Diff line change 19
19
use Symfony \Component \Notifier \Bridge \Mercure \MercureOptions ;
20
20
use Symfony \Component \Notifier \ChatterInterface ;
21
21
use Symfony \Component \Notifier \Message \ChatMessage ;
22
- use Symfony \Component \Routing \Annotation \Route ;
22
+ use Symfony \Component \Routing \Attribute \Route ;
23
23
24
24
class NotifyController extends AbstractController
25
25
{
Original file line number Diff line number Diff line change 15
15
use App \Service \UxPackageRepository ;
16
16
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
17
17
use Symfony \Component \HttpFoundation \Response ;
18
- use Symfony \Component \Routing \Annotation \Route ;
18
+ use Symfony \Component \Routing \Attribute \Route ;
19
19
20
20
class ReactController extends AbstractController
21
21
{
Original file line number Diff line number Diff line change 15
15
use App \Service \UxPackageRepository ;
16
16
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
17
17
use Symfony \Component \HttpFoundation \Response ;
18
- use Symfony \Component \Routing \Annotation \Route ;
18
+ use Symfony \Component \Routing \Attribute \Route ;
19
19
20
20
class SvelteController extends AbstractController
21
21
{
Original file line number Diff line number Diff line change 16
16
use Pagerfanta \Pagerfanta ;
17
17
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
18
18
use Symfony \Component \HttpFoundation \Response ;
19
- use Symfony \Component \Routing \Annotation \Route ;
19
+ use Symfony \Component \Routing \Attribute \Route ;
20
20
21
21
class SwupController extends AbstractController
22
22
{
Original file line number Diff line number Diff line change 15
15
use App \Service \UxPackageRepository ;
16
16
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
17
17
use Symfony \Component \HttpFoundation \Response ;
18
- use Symfony \Component \Routing \Annotation \Route ;
18
+ use Symfony \Component \Routing \Attribute \Route ;
19
19
20
20
class TogglePasswordController extends AbstractController
21
21
{
Original file line number Diff line number Diff line change 14
14
use App \Service \UxPackageRepository ;
15
15
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
- use Symfony \Component \Routing \Annotation \Route ;
17
+ use Symfony \Component \Routing \Attribute \Route ;
18
18
19
19
class TranslatorController extends AbstractController
20
20
{
Original file line number Diff line number Diff line change 23
23
use Symfony \Component \HttpFoundation \Session \SessionInterface ;
24
24
use Symfony \Component \Mercure \HubInterface ;
25
25
use Symfony \Component \Mercure \Update ;
26
- use Symfony \Component \Routing \Annotation \Route ;
26
+ use Symfony \Component \Routing \Attribute \Route ;
27
27
use Symfony \UX \Turbo \TurboBundle ;
28
28
29
29
class TurboController extends AbstractController
Original file line number Diff line number Diff line change 14
14
use App \Service \UxPackageRepository ;
15
15
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
- use Symfony \Component \Routing \Annotation \Route ;
17
+ use Symfony \Component \Routing \Attribute \Route ;
18
18
19
19
class TwigComponentController extends AbstractController
20
20
{
Original file line number Diff line number Diff line change 14
14
use App \Service \UxPackageRepository ;
15
15
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
- use Symfony \Component \Routing \Annotation \Route ;
17
+ use Symfony \Component \Routing \Attribute \Route ;
18
18
19
19
class TypedController extends AbstractController
20
20
{
Original file line number Diff line number Diff line change 15
15
use App \Service \UxPackageRepository ;
16
16
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
17
17
use Symfony \Component \HttpFoundation \Response ;
18
- use Symfony \Component \Routing \Annotation \Route ;
18
+ use Symfony \Component \Routing \Attribute \Route ;
19
19
20
20
class VueController extends AbstractController
21
21
{
Original file line number Diff line number Diff line change 15
15
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
16
16
use Symfony \Component \HttpFoundation \RedirectResponse ;
17
17
use Symfony \Component \HttpFoundation \Response ;
18
- use Symfony \Component \Routing \Annotation \Route ;
18
+ use Symfony \Component \Routing \Attribute \Route ;
19
19
20
20
class UxPackagesController extends AbstractController
21
21
{
You can’t perform that action at this time.
0 commit comments