@frontastic/common 2.48.3 → 2.48.5
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 +3 -2
- 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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# BundleLocation
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\BundleLocation`](../../../../src/php/MvcBundle/View/BundleLocation.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [__construct()](#__construct)
|
|
8
|
+
* [locationFor()](#locationfor)
|
|
9
|
+
|
|
10
|
+
### __construct()
|
|
11
|
+
|
|
12
|
+
```php
|
|
13
|
+
public function __construct(
|
|
14
|
+
\Symfony\Component\HttpKernel\KernelInterface $kernel
|
|
15
|
+
): mixed
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Argument|Type|Default|Description
|
|
19
|
+
--------|----|-------|-----------
|
|
20
|
+
`$kernel`|`\Symfony\Component\HttpKernel\KernelInterface`||
|
|
21
|
+
|
|
22
|
+
Return Value: `mixed`
|
|
23
|
+
|
|
24
|
+
### locationFor()
|
|
25
|
+
|
|
26
|
+
```php
|
|
27
|
+
public function locationFor(
|
|
28
|
+
string $className
|
|
29
|
+
): ?string
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Argument|Type|Default|Description
|
|
33
|
+
--------|----|-------|-----------
|
|
34
|
+
`$className`|`string`||
|
|
35
|
+
|
|
36
|
+
Return Value: `?string`
|
|
37
|
+
|
|
38
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# SymfonyConventionsTemplateGuesser
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\SymfonyConventionsTemplateGuesser`](../../../../src/php/MvcBundle/View/SymfonyConventionsTemplateGuesser.php)
|
|
4
|
+
|
|
5
|
+
**Implements**: [`TemplateGuesser`](TemplateGuesser.md)
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
* [__construct()](#__construct)
|
|
10
|
+
* [guessControllerTemplateName()](#guesscontrollertemplatename)
|
|
11
|
+
|
|
12
|
+
### __construct()
|
|
13
|
+
|
|
14
|
+
```php
|
|
15
|
+
public function __construct(
|
|
16
|
+
BundleLocation $bundleLocation,
|
|
17
|
+
GyroControllerNameParser $parser
|
|
18
|
+
): mixed
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Argument|Type|Default|Description
|
|
22
|
+
--------|----|-------|-----------
|
|
23
|
+
`$bundleLocation`|[`BundleLocation`](BundleLocation.md)||
|
|
24
|
+
`$parser`|[`GyroControllerNameParser`](../Controller/GyroControllerNameParser.md)||
|
|
25
|
+
|
|
26
|
+
Return Value: `mixed`
|
|
27
|
+
|
|
28
|
+
### guessControllerTemplateName()
|
|
29
|
+
|
|
30
|
+
```php
|
|
31
|
+
public function guessControllerTemplateName(
|
|
32
|
+
string $controller,
|
|
33
|
+
?string $actionName,
|
|
34
|
+
string $format,
|
|
35
|
+
string $engine
|
|
36
|
+
): string
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Argument|Type|Default|Description
|
|
40
|
+
--------|----|-------|-----------
|
|
41
|
+
`$controller`|`string`||
|
|
42
|
+
`$actionName`|`?string`||
|
|
43
|
+
`$format`|`string`||
|
|
44
|
+
`$engine`|`string`||
|
|
45
|
+
|
|
46
|
+
Return Value: `string`
|
|
47
|
+
|
|
48
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# `interface` TemplateGuesser
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\TemplateGuesser`](../../../../src/php/MvcBundle/View/TemplateGuesser.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [guessControllerTemplateName()](#guesscontrollertemplatename)
|
|
8
|
+
|
|
9
|
+
### guessControllerTemplateName()
|
|
10
|
+
|
|
11
|
+
```php
|
|
12
|
+
public function guessControllerTemplateName(
|
|
13
|
+
string $controller,
|
|
14
|
+
?string $actionName,
|
|
15
|
+
string $format,
|
|
16
|
+
string $engine
|
|
17
|
+
): string
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
*Return a template reference for the given controller, format, engine*
|
|
21
|
+
|
|
22
|
+
Argument|Type|Default|Description
|
|
23
|
+
--------|----|-------|-----------
|
|
24
|
+
`$controller`|`string`||
|
|
25
|
+
`$actionName`|`?string`||
|
|
26
|
+
`$format`|`string`||
|
|
27
|
+
`$engine`|`string`||
|
|
28
|
+
|
|
29
|
+
Return Value: `string`
|
|
30
|
+
|
|
31
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -17,7 +17,6 @@ Property|Type|Default|Required|Description
|
|
|
17
17
|
`configuration` | `array` | `[]` | *Yes* |
|
|
18
18
|
`environments` | `array` | `['production', 'staging', 'development']` | *Yes* |
|
|
19
19
|
`projects` | [`Project`](Project.md)[] | `[]` | *Yes* |
|
|
20
|
-
`netlifyUrl` | `?string` | `null` | - |
|
|
21
20
|
|
|
22
21
|
## Methods
|
|
23
22
|
|
package/package.json
CHANGED