@frontastic/common 2.48.2 → 2.48.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/composer.json +4 -3
- package/composer.lock +7552 -0
- package/docs/README.md +50 -0
- package/docs/php/AccountApiBundle/Command/CreateAccountCommand.md +1 -1
- package/docs/php/AccountApiBundle/Controller/LegacyAccountAuthController.md +2 -2
- package/docs/php/CoreBundle/Domain/Mailer/SwiftMail.md +2 -2
- package/docs/php/CoreBundle/EventListener/JsonExceptionListener.md +2 -2
- package/docs/php/CoreBundle/EventListener/JsonViewListener.md +2 -2
- package/docs/php/DevelopmentBundle/EventListener/BrowserConsoleDebuggerListener.md +2 -2
- package/docs/php/Mvc/EventDispatcher/EventDispatcher.md +40 -0
- package/docs/php/Mvc/Exception/FormAlreadyHandledException.md +25 -0
- package/docs/php/Mvc/Exception/NoFormHandledException.md +19 -0
- package/docs/php/Mvc/Exception/UnauthenticatedUserException.md +7 -0
- package/docs/php/Mvc/Flash.md +30 -0
- package/docs/php/Mvc/Form/InvalidFormRequest.md +88 -0
- package/docs/php/Mvc/Form/ValidFormRequest.md +103 -0
- package/docs/php/Mvc/FormRequest.md +86 -0
- package/docs/php/Mvc/Headers.md +27 -0
- package/docs/php/Mvc/RedirectRoute.md +63 -0
- package/docs/php/Mvc/TemplateView.md +65 -0
- package/docs/php/Mvc/TokenContext.md +124 -0
- package/docs/php/Mvc/ViewStruct.md +56 -0
- package/docs/php/MvcBundle/Controller/GyroControllerNameParser.md +38 -0
- package/docs/php/MvcBundle/Controller/ResultConverter/ArrayToTemplateResponseConverter.md +64 -0
- package/docs/php/MvcBundle/Controller/ResultConverter/ControllerResultConverter.md +40 -0
- package/docs/php/MvcBundle/Controller/ResultConverter/ControllerYieldApplier.md +42 -0
- package/docs/php/MvcBundle/Controller/ResultConverter/CookieYieldApplier.md +44 -0
- package/docs/php/MvcBundle/Controller/ResultConverter/FlashYieldApplier.md +44 -0
- package/docs/php/MvcBundle/Controller/ResultConverter/HeadersYieldApplier.md +44 -0
- package/docs/php/MvcBundle/Controller/ResultConverter/RedirectConverter.md +57 -0
- package/docs/php/MvcBundle/DependencyInjection/CompatibleTreeBuilder.md +32 -0
- package/docs/php/MvcBundle/DependencyInjection/Configuration.md +22 -0
- package/docs/php/MvcBundle/DependencyInjection/FrontasticCommonMvcExtension.md +32 -0
- package/docs/php/MvcBundle/EventListener/ConvertExceptionListener.md +40 -0
- package/docs/php/MvcBundle/EventListener/ParamConverterListener.md +42 -0
- package/docs/php/MvcBundle/EventListener/ViewListener.md +53 -0
- package/docs/php/MvcBundle/FrontasticCommonMvcBundle.md +7 -0
- package/docs/php/MvcBundle/MockTokenContext.md +137 -0
- package/docs/php/MvcBundle/ParamConverter/ServiceProvider.md +35 -0
- package/docs/php/MvcBundle/ParamConverter/SymfonyServiceProvider.md +56 -0
- package/docs/php/MvcBundle/Request/SymfonyFormRequest.md +105 -0
- package/docs/php/MvcBundle/SymfonyTokenContext.md +143 -0
- package/docs/php/MvcBundle/Versions.md +17 -0
- package/docs/php/MvcBundle/View/BundleLocation.md +38 -0
- package/docs/php/MvcBundle/View/SymfonyConventionsTemplateGuesser.md +48 -0
- package/docs/php/MvcBundle/View/TemplateGuesser.md +31 -0
- package/docs/php/ReplicatorBundle/Domain/Customer.md +0 -1
- package/docs/php/SpecificationBundle/Domain/SchemaFieldTypes.md +5 -0
- package/package.json +1 -1
- package/src/json/library/common.json +2 -1
- package/src/json/masterPageSchemaSchema.json +3 -0
- package/vendor/sebastian/diff/tests/fixtures/.editorconfig +1 -0
- package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/1_a.txt +1 -0
- package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/1_b.txt +0 -0
- package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/2_a.txt +35 -0
- package/vendor/sebastian/diff/tests/fixtures/UnifiedDiffAssertTraitIntegrationTest/2_b.txt +18 -0
- package/vendor/sebastian/diff/tests/fixtures/out/.editorconfig +1 -0
- package/vendor/sebastian/diff/tests/fixtures/out/.gitignore +2 -0
- package/vendor/sebastian/diff/tests/fixtures/patch.txt +9 -0
- package/vendor/sebastian/diff/tests/fixtures/patch2.txt +21 -0
- package/vendor/sebastian/diff/tests/fixtures/serialized_diff.bin +0 -0
- package/vendor/symfony/symfony/.github/psalm/.gitignore +4 -0
- package/vendor/symfony/symfony/.github/psalm/stubs/ForwardCompatTestTrait.php +38 -0
- package/vendor/symfony/symfony/.github/psalm/stubs/SetUpTearDownTrait.php +19 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# TemplateView
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\Mvc\TemplateView`](../../../src/php/Mvc/TemplateView.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [__construct()](#__construct)
|
|
8
|
+
* [getViewParams()](#getviewparams)
|
|
9
|
+
* [getActionTemplateName()](#getactiontemplatename)
|
|
10
|
+
* [getStatusCode()](#getstatuscode)
|
|
11
|
+
* [getHeaders()](#getheaders)
|
|
12
|
+
|
|
13
|
+
### __construct()
|
|
14
|
+
|
|
15
|
+
```php
|
|
16
|
+
public function __construct(
|
|
17
|
+
mixed $viewParams,
|
|
18
|
+
?string $actionTemplateName = null,
|
|
19
|
+
int $statusCode = 200,
|
|
20
|
+
array $headers = []
|
|
21
|
+
): mixed
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Argument|Type|Default|Description
|
|
25
|
+
--------|----|-------|-----------
|
|
26
|
+
`$viewParams`|`mixed`||
|
|
27
|
+
`$actionTemplateName`|`?string`|`null`|
|
|
28
|
+
`$statusCode`|`int`|`200`|
|
|
29
|
+
`$headers`|`array`|`[]`|
|
|
30
|
+
|
|
31
|
+
Return Value: `mixed`
|
|
32
|
+
|
|
33
|
+
### getViewParams()
|
|
34
|
+
|
|
35
|
+
```php
|
|
36
|
+
public function getViewParams(): array
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Return Value: `array`
|
|
40
|
+
|
|
41
|
+
### getActionTemplateName()
|
|
42
|
+
|
|
43
|
+
```php
|
|
44
|
+
public function getActionTemplateName(): ?string
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Return Value: `?string`
|
|
48
|
+
|
|
49
|
+
### getStatusCode()
|
|
50
|
+
|
|
51
|
+
```php
|
|
52
|
+
public function getStatusCode(): int
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Return Value: `int`
|
|
56
|
+
|
|
57
|
+
### getHeaders()
|
|
58
|
+
|
|
59
|
+
```php
|
|
60
|
+
public function getHeaders(): array
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Return Value: `array`
|
|
64
|
+
|
|
65
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# `interface` TokenContext
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\Mvc\TokenContext`](../../../src/php/Mvc/TokenContext.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [getCurrentUserId()](#getcurrentuserid)
|
|
8
|
+
* [getCurrentUsername()](#getcurrentusername)
|
|
9
|
+
* [getCurrentUser()](#getcurrentuser)
|
|
10
|
+
* [hasToken()](#hastoken)
|
|
11
|
+
* [hasNonAnonymousToken()](#hasnonanonymoustoken)
|
|
12
|
+
* [getToken()](#gettoken)
|
|
13
|
+
* [isGranted()](#isgranted)
|
|
14
|
+
* [assertIsGranted()](#assertisgranted)
|
|
15
|
+
|
|
16
|
+
### getCurrentUserId()
|
|
17
|
+
|
|
18
|
+
```php
|
|
19
|
+
public function getCurrentUserId(): mixed
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
*If a security context and token exists, retrieve the user id.*
|
|
23
|
+
|
|
24
|
+
Throws UnauthenticatedUserException when no valid token exists.
|
|
25
|
+
|
|
26
|
+
Return Value: `mixed`
|
|
27
|
+
|
|
28
|
+
### getCurrentUsername()
|
|
29
|
+
|
|
30
|
+
```php
|
|
31
|
+
public function getCurrentUsername(): string
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
*If a security context and token exists, retrieve the username.*
|
|
35
|
+
|
|
36
|
+
Throws UnauthenticatedUserException when no valid token exists.
|
|
37
|
+
|
|
38
|
+
Return Value: `string`
|
|
39
|
+
|
|
40
|
+
### getCurrentUser()
|
|
41
|
+
|
|
42
|
+
```php
|
|
43
|
+
public function getCurrentUser(
|
|
44
|
+
string $expectedClass
|
|
45
|
+
): \Symfony\Component\Security\Core\User\UserInterface
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
*Get the current User object*
|
|
49
|
+
|
|
50
|
+
Throws UnauthenticatedUserException when no valid token exists.
|
|
51
|
+
|
|
52
|
+
Argument|Type|Default|Description
|
|
53
|
+
--------|----|-------|-----------
|
|
54
|
+
`$expectedClass`|`string`||
|
|
55
|
+
|
|
56
|
+
Return Value: `\Symfony\Component\Security\Core\User\UserInterface`
|
|
57
|
+
|
|
58
|
+
### hasToken()
|
|
59
|
+
|
|
60
|
+
```php
|
|
61
|
+
public function hasToken(): bool
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Return Value: `bool`
|
|
65
|
+
|
|
66
|
+
### hasNonAnonymousToken()
|
|
67
|
+
|
|
68
|
+
```php
|
|
69
|
+
public function hasNonAnonymousToken(): bool
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Return Value: `bool`
|
|
73
|
+
|
|
74
|
+
### getToken()
|
|
75
|
+
|
|
76
|
+
```php
|
|
77
|
+
public function getToken(
|
|
78
|
+
string $expectedClass
|
|
79
|
+
): \Symfony\Component\Security\Core\Authentication\Token\TokenInterface
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
*Get the Security Token*
|
|
83
|
+
|
|
84
|
+
Throws UnauthenticatedUserException when no valid token exists.
|
|
85
|
+
|
|
86
|
+
Argument|Type|Default|Description
|
|
87
|
+
--------|----|-------|-----------
|
|
88
|
+
`$expectedClass`|`string`||
|
|
89
|
+
|
|
90
|
+
Return Value: `\Symfony\Component\Security\Core\Authentication\Token\TokenInterface`
|
|
91
|
+
|
|
92
|
+
### isGranted()
|
|
93
|
+
|
|
94
|
+
```php
|
|
95
|
+
public function isGranted(
|
|
96
|
+
mixed $attributes,
|
|
97
|
+
?object $object = null
|
|
98
|
+
): bool
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Argument|Type|Default|Description
|
|
102
|
+
--------|----|-------|-----------
|
|
103
|
+
`$attributes`|`mixed`||
|
|
104
|
+
`$object`|`?object`|`null`|
|
|
105
|
+
|
|
106
|
+
Return Value: `bool`
|
|
107
|
+
|
|
108
|
+
### assertIsGranted()
|
|
109
|
+
|
|
110
|
+
```php
|
|
111
|
+
public function assertIsGranted(
|
|
112
|
+
mixed $attributes,
|
|
113
|
+
?object $object = null
|
|
114
|
+
): void
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Argument|Type|Default|Description
|
|
118
|
+
--------|----|-------|-----------
|
|
119
|
+
`$attributes`|`mixed`||
|
|
120
|
+
`$object`|`?object`|`null`|
|
|
121
|
+
|
|
122
|
+
Return Value: `void`
|
|
123
|
+
|
|
124
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# `abstract` ViewStruct
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\Mvc\ViewStruct`](../../../src/php/Mvc/ViewStruct.php)
|
|
4
|
+
|
|
5
|
+
Target for properties and view logic passed to any templating mechanism or
|
|
6
|
+
serialization method. Returning a ViewStruct from a controller is catched by
|
|
7
|
+
the ViewListener and transformed into a Twig template for example:
|
|
8
|
+
|
|
9
|
+
# View/Default/HelloView.php class HelloView extends ViewStruct
|
|
10
|
+
{ public $name;
|
|
11
|
+
|
|
12
|
+
public function reverseName() { return
|
|
13
|
+
strrev($this->name); } }
|
|
14
|
+
|
|
15
|
+
# Controller/DefaultController.php
|
|
16
|
+
|
|
17
|
+
{ public function helloAction($name) {
|
|
18
|
+
return new HelloView(array('name' => $name)); } }
|
|
19
|
+
|
|
20
|
+
# Resources/views/Default/hello.html.twig Hello {{ view.name }} or
|
|
21
|
+
{{ view.reverseName() }}!
|
|
22
|
+
|
|
23
|
+
## Methods
|
|
24
|
+
|
|
25
|
+
* [__construct()](#__construct)
|
|
26
|
+
* [__get()](#__get)
|
|
27
|
+
|
|
28
|
+
### __construct()
|
|
29
|
+
|
|
30
|
+
```php
|
|
31
|
+
public function __construct(
|
|
32
|
+
array $data
|
|
33
|
+
): mixed
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Argument|Type|Default|Description
|
|
37
|
+
--------|----|-------|-----------
|
|
38
|
+
`$data`|`array`||
|
|
39
|
+
|
|
40
|
+
Return Value: `mixed`
|
|
41
|
+
|
|
42
|
+
### __get()
|
|
43
|
+
|
|
44
|
+
```php
|
|
45
|
+
public function __get(
|
|
46
|
+
string $name
|
|
47
|
+
): mixed
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Argument|Type|Default|Description
|
|
51
|
+
--------|----|-------|-----------
|
|
52
|
+
`$name`|`string`||
|
|
53
|
+
|
|
54
|
+
Return Value: `mixed`
|
|
55
|
+
|
|
56
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# GyroControllerNameParser
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\GyroControllerNameParser`](../../../../src/php/MvcBundle/Controller/GyroControllerNameParser.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [__construct()](#__construct)
|
|
8
|
+
* [parse()](#parse)
|
|
9
|
+
|
|
10
|
+
### __construct()
|
|
11
|
+
|
|
12
|
+
```php
|
|
13
|
+
public function __construct(
|
|
14
|
+
\Symfony\Component\DependencyInjection\ContainerInterface $container
|
|
15
|
+
): mixed
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Argument|Type|Default|Description
|
|
19
|
+
--------|----|-------|-----------
|
|
20
|
+
`$container`|`\Symfony\Component\DependencyInjection\ContainerInterface`||
|
|
21
|
+
|
|
22
|
+
Return Value: `mixed`
|
|
23
|
+
|
|
24
|
+
### parse()
|
|
25
|
+
|
|
26
|
+
```php
|
|
27
|
+
public function parse(
|
|
28
|
+
string $controller
|
|
29
|
+
): string
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Argument|Type|Default|Description
|
|
33
|
+
--------|----|-------|-----------
|
|
34
|
+
`$controller`|`string`||
|
|
35
|
+
|
|
36
|
+
Return Value: `string`
|
|
37
|
+
|
|
38
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# ArrayToTemplateResponseConverter
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\ResultConverter\ArrayToTemplateResponseConverter`](../../../../../src/php/MvcBundle/Controller/ResultConverter/ArrayToTemplateResponseConverter.php)
|
|
4
|
+
|
|
5
|
+
**Implements**: [`ControllerResultConverter`](ControllerResultConverter.md)
|
|
6
|
+
|
|
7
|
+
Guess the template names with the same algorithm that @Template() in Sensio's
|
|
8
|
+
FrameworkExtraBundle uses.
|
|
9
|
+
|
|
10
|
+
## Methods
|
|
11
|
+
|
|
12
|
+
* [__construct()](#__construct)
|
|
13
|
+
* [supports()](#supports)
|
|
14
|
+
* [convert()](#convert)
|
|
15
|
+
|
|
16
|
+
### __construct()
|
|
17
|
+
|
|
18
|
+
```php
|
|
19
|
+
public function __construct(
|
|
20
|
+
\Twig\Environment $twig,
|
|
21
|
+
TemplateGuesser $guesser,
|
|
22
|
+
string $engine
|
|
23
|
+
): mixed
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Argument|Type|Default|Description
|
|
27
|
+
--------|----|-------|-----------
|
|
28
|
+
`$twig`|`\Twig\Environment`||
|
|
29
|
+
`$guesser`|[`TemplateGuesser`](../../View/TemplateGuesser.md)||
|
|
30
|
+
`$engine`|`string`||
|
|
31
|
+
|
|
32
|
+
Return Value: `mixed`
|
|
33
|
+
|
|
34
|
+
### supports()
|
|
35
|
+
|
|
36
|
+
```php
|
|
37
|
+
public function supports(
|
|
38
|
+
mixed $result
|
|
39
|
+
): bool
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Argument|Type|Default|Description
|
|
43
|
+
--------|----|-------|-----------
|
|
44
|
+
`$result`|`mixed`||
|
|
45
|
+
|
|
46
|
+
Return Value: `bool`
|
|
47
|
+
|
|
48
|
+
### convert()
|
|
49
|
+
|
|
50
|
+
```php
|
|
51
|
+
public function convert(
|
|
52
|
+
mixed $result,
|
|
53
|
+
\Symfony\Component\HttpFoundation\Request $request
|
|
54
|
+
): \Symfony\Component\HttpFoundation\Response
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Argument|Type|Default|Description
|
|
58
|
+
--------|----|-------|-----------
|
|
59
|
+
`$result`|`mixed`||
|
|
60
|
+
`$request`|`\Symfony\Component\HttpFoundation\Request`||
|
|
61
|
+
|
|
62
|
+
Return Value: `\Symfony\Component\HttpFoundation\Response`
|
|
63
|
+
|
|
64
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# `interface` ControllerResultConverter
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\ResultConverter\ControllerResultConverter`](../../../../../src/php/MvcBundle/Controller/ResultConverter/ControllerResultConverter.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [supports()](#supports)
|
|
8
|
+
* [convert()](#convert)
|
|
9
|
+
|
|
10
|
+
### supports()
|
|
11
|
+
|
|
12
|
+
```php
|
|
13
|
+
public function supports(
|
|
14
|
+
mixed $result
|
|
15
|
+
): bool
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Argument|Type|Default|Description
|
|
19
|
+
--------|----|-------|-----------
|
|
20
|
+
`$result`|`mixed`||
|
|
21
|
+
|
|
22
|
+
Return Value: `bool`
|
|
23
|
+
|
|
24
|
+
### convert()
|
|
25
|
+
|
|
26
|
+
```php
|
|
27
|
+
public function convert(
|
|
28
|
+
mixed $result,
|
|
29
|
+
\Symfony\Component\HttpFoundation\Request $request
|
|
30
|
+
): \Symfony\Component\HttpFoundation\Response
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Argument|Type|Default|Description
|
|
34
|
+
--------|----|-------|-----------
|
|
35
|
+
`$result`|`mixed`||
|
|
36
|
+
`$request`|`\Symfony\Component\HttpFoundation\Request`||
|
|
37
|
+
|
|
38
|
+
Return Value: `\Symfony\Component\HttpFoundation\Response`
|
|
39
|
+
|
|
40
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# `interface` ControllerYieldApplier
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\ResultConverter\ControllerYieldApplier`](../../../../../src/php/MvcBundle/Controller/ResultConverter/ControllerYieldApplier.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [supports()](#supports)
|
|
8
|
+
* [apply()](#apply)
|
|
9
|
+
|
|
10
|
+
### supports()
|
|
11
|
+
|
|
12
|
+
```php
|
|
13
|
+
public function supports(
|
|
14
|
+
mixed $yield
|
|
15
|
+
): bool
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Argument|Type|Default|Description
|
|
19
|
+
--------|----|-------|-----------
|
|
20
|
+
`$yield`|`mixed`||
|
|
21
|
+
|
|
22
|
+
Return Value: `bool`
|
|
23
|
+
|
|
24
|
+
### apply()
|
|
25
|
+
|
|
26
|
+
```php
|
|
27
|
+
public function apply(
|
|
28
|
+
mixed $yield,
|
|
29
|
+
\Symfony\Component\HttpFoundation\Request $request,
|
|
30
|
+
\Symfony\Component\HttpFoundation\Response $response
|
|
31
|
+
): void
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Argument|Type|Default|Description
|
|
35
|
+
--------|----|-------|-----------
|
|
36
|
+
`$yield`|`mixed`||
|
|
37
|
+
`$request`|`\Symfony\Component\HttpFoundation\Request`||
|
|
38
|
+
`$response`|`\Symfony\Component\HttpFoundation\Response`||
|
|
39
|
+
|
|
40
|
+
Return Value: `void`
|
|
41
|
+
|
|
42
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# CookieYieldApplier
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\ResultConverter\CookieYieldApplier`](../../../../../src/php/MvcBundle/Controller/ResultConverter/CookieYieldApplier.php)
|
|
4
|
+
|
|
5
|
+
**Implements**: [`ControllerYieldApplier`](ControllerYieldApplier.md)
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
* [supports()](#supports)
|
|
10
|
+
* [apply()](#apply)
|
|
11
|
+
|
|
12
|
+
### supports()
|
|
13
|
+
|
|
14
|
+
```php
|
|
15
|
+
public function supports(
|
|
16
|
+
mixed $yield
|
|
17
|
+
): bool
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Argument|Type|Default|Description
|
|
21
|
+
--------|----|-------|-----------
|
|
22
|
+
`$yield`|`mixed`||
|
|
23
|
+
|
|
24
|
+
Return Value: `bool`
|
|
25
|
+
|
|
26
|
+
### apply()
|
|
27
|
+
|
|
28
|
+
```php
|
|
29
|
+
public function apply(
|
|
30
|
+
mixed $yield,
|
|
31
|
+
\Symfony\Component\HttpFoundation\Request $request,
|
|
32
|
+
\Symfony\Component\HttpFoundation\Response $response
|
|
33
|
+
): void
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Argument|Type|Default|Description
|
|
37
|
+
--------|----|-------|-----------
|
|
38
|
+
`$yield`|`mixed`||
|
|
39
|
+
`$request`|`\Symfony\Component\HttpFoundation\Request`||
|
|
40
|
+
`$response`|`\Symfony\Component\HttpFoundation\Response`||
|
|
41
|
+
|
|
42
|
+
Return Value: `void`
|
|
43
|
+
|
|
44
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# FlashYieldApplier
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\ResultConverter\FlashYieldApplier`](../../../../../src/php/MvcBundle/Controller/ResultConverter/FlashYieldApplier.php)
|
|
4
|
+
|
|
5
|
+
**Implements**: [`ControllerYieldApplier`](ControllerYieldApplier.md)
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
* [supports()](#supports)
|
|
10
|
+
* [apply()](#apply)
|
|
11
|
+
|
|
12
|
+
### supports()
|
|
13
|
+
|
|
14
|
+
```php
|
|
15
|
+
public function supports(
|
|
16
|
+
mixed $yield
|
|
17
|
+
): bool
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Argument|Type|Default|Description
|
|
21
|
+
--------|----|-------|-----------
|
|
22
|
+
`$yield`|`mixed`||
|
|
23
|
+
|
|
24
|
+
Return Value: `bool`
|
|
25
|
+
|
|
26
|
+
### apply()
|
|
27
|
+
|
|
28
|
+
```php
|
|
29
|
+
public function apply(
|
|
30
|
+
mixed $yield,
|
|
31
|
+
\Symfony\Component\HttpFoundation\Request $request,
|
|
32
|
+
\Symfony\Component\HttpFoundation\Response $response
|
|
33
|
+
): void
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Argument|Type|Default|Description
|
|
37
|
+
--------|----|-------|-----------
|
|
38
|
+
`$yield`|`mixed`||
|
|
39
|
+
`$request`|`\Symfony\Component\HttpFoundation\Request`||
|
|
40
|
+
`$response`|`\Symfony\Component\HttpFoundation\Response`||
|
|
41
|
+
|
|
42
|
+
Return Value: `void`
|
|
43
|
+
|
|
44
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# HeadersYieldApplier
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\ResultConverter\HeadersYieldApplier`](../../../../../src/php/MvcBundle/Controller/ResultConverter/HeadersYieldApplier.php)
|
|
4
|
+
|
|
5
|
+
**Implements**: [`ControllerYieldApplier`](ControllerYieldApplier.md)
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
* [supports()](#supports)
|
|
10
|
+
* [apply()](#apply)
|
|
11
|
+
|
|
12
|
+
### supports()
|
|
13
|
+
|
|
14
|
+
```php
|
|
15
|
+
public function supports(
|
|
16
|
+
mixed $yield
|
|
17
|
+
): bool
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Argument|Type|Default|Description
|
|
21
|
+
--------|----|-------|-----------
|
|
22
|
+
`$yield`|`mixed`||
|
|
23
|
+
|
|
24
|
+
Return Value: `bool`
|
|
25
|
+
|
|
26
|
+
### apply()
|
|
27
|
+
|
|
28
|
+
```php
|
|
29
|
+
public function apply(
|
|
30
|
+
mixed $yield,
|
|
31
|
+
\Symfony\Component\HttpFoundation\Request $request,
|
|
32
|
+
\Symfony\Component\HttpFoundation\Response $response
|
|
33
|
+
): void
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Argument|Type|Default|Description
|
|
37
|
+
--------|----|-------|-----------
|
|
38
|
+
`$yield`|`mixed`||
|
|
39
|
+
`$request`|`\Symfony\Component\HttpFoundation\Request`||
|
|
40
|
+
`$response`|`\Symfony\Component\HttpFoundation\Response`||
|
|
41
|
+
|
|
42
|
+
Return Value: `void`
|
|
43
|
+
|
|
44
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# RedirectConverter
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\Controller\ResultConverter\RedirectConverter`](../../../../../src/php/MvcBundle/Controller/ResultConverter/RedirectConverter.php)
|
|
4
|
+
|
|
5
|
+
**Implements**: [`ControllerResultConverter`](ControllerResultConverter.md)
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
* [__construct()](#__construct)
|
|
10
|
+
* [supports()](#supports)
|
|
11
|
+
* [convert()](#convert)
|
|
12
|
+
|
|
13
|
+
### __construct()
|
|
14
|
+
|
|
15
|
+
```php
|
|
16
|
+
public function __construct(
|
|
17
|
+
\Symfony\Component\Routing\Generator\UrlGeneratorInterface $router
|
|
18
|
+
): mixed
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Argument|Type|Default|Description
|
|
22
|
+
--------|----|-------|-----------
|
|
23
|
+
`$router`|`\Symfony\Component\Routing\Generator\UrlGeneratorInterface`||
|
|
24
|
+
|
|
25
|
+
Return Value: `mixed`
|
|
26
|
+
|
|
27
|
+
### supports()
|
|
28
|
+
|
|
29
|
+
```php
|
|
30
|
+
public function supports(
|
|
31
|
+
mixed $result
|
|
32
|
+
): bool
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Argument|Type|Default|Description
|
|
36
|
+
--------|----|-------|-----------
|
|
37
|
+
`$result`|`mixed`||
|
|
38
|
+
|
|
39
|
+
Return Value: `bool`
|
|
40
|
+
|
|
41
|
+
### convert()
|
|
42
|
+
|
|
43
|
+
```php
|
|
44
|
+
public function convert(
|
|
45
|
+
mixed $result,
|
|
46
|
+
\Symfony\Component\HttpFoundation\Request $request
|
|
47
|
+
): \Symfony\Component\HttpFoundation\Response
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Argument|Type|Default|Description
|
|
51
|
+
--------|----|-------|-----------
|
|
52
|
+
`$result`|`mixed`||
|
|
53
|
+
`$request`|`\Symfony\Component\HttpFoundation\Request`||
|
|
54
|
+
|
|
55
|
+
Return Value: `\Symfony\Component\HttpFoundation\Response`
|
|
56
|
+
|
|
57
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# CompatibleTreeBuilder
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\DependencyInjection\CompatibleTreeBuilder`](../../../../src/php/MvcBundle/DependencyInjection/CompatibleTreeBuilder.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [root()](#root)
|
|
8
|
+
* [getTreeBuilder()](#gettreebuilder)
|
|
9
|
+
|
|
10
|
+
### root()
|
|
11
|
+
|
|
12
|
+
```php
|
|
13
|
+
public function root(
|
|
14
|
+
string $name
|
|
15
|
+
): \Symfony\Component\Config\Definition\Builder\NodeDefinition
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Argument|Type|Default|Description
|
|
19
|
+
--------|----|-------|-----------
|
|
20
|
+
`$name`|`string`||
|
|
21
|
+
|
|
22
|
+
Return Value: `\Symfony\Component\Config\Definition\Builder\NodeDefinition`
|
|
23
|
+
|
|
24
|
+
### getTreeBuilder()
|
|
25
|
+
|
|
26
|
+
```php
|
|
27
|
+
public function getTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Return Value: `\Symfony\Component\Config\Definition\Builder\TreeBuilder`
|
|
31
|
+
|
|
32
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Configuration
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\DependencyInjection\Configuration`](../../../../src/php/MvcBundle/DependencyInjection/Configuration.php)
|
|
4
|
+
|
|
5
|
+
**Implements**: `\Symfony\Component\Config\Definition\ConfigurationInterface`
|
|
6
|
+
|
|
7
|
+
To learn more see {@link
|
|
8
|
+
http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
|
|
9
|
+
|
|
10
|
+
## Methods
|
|
11
|
+
|
|
12
|
+
* [getConfigTreeBuilder()](#getconfigtreebuilder)
|
|
13
|
+
|
|
14
|
+
### getConfigTreeBuilder()
|
|
15
|
+
|
|
16
|
+
```php
|
|
17
|
+
public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Builder\TreeBuilder
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Return Value: `\Symfony\Component\Config\Definition\Builder\TreeBuilder`
|
|
21
|
+
|
|
22
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|