mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Use yaml for consistency
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
use MsgPhp\Eav\Attribute;
|
||||
use MsgPhp\Eav\AttributeValue;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
|
||||
return function (ContainerConfigurator $container) {
|
||||
$container->extension('msgphp_eav', [
|
||||
'class_mapping' => [
|
||||
Attribute::class => \App\Entity\Attribute::class,
|
||||
AttributeValue::class => \App\Entity\AttributeValue::class,
|
||||
],
|
||||
]);
|
||||
};
|
||||
4
msgphp/eav-bundle/0.10/config/packages/msgphp_eav.yaml
Normal file
4
msgphp/eav-bundle/0.10/config/packages/msgphp_eav.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
msgphp_eav:
|
||||
class_mapping:
|
||||
MsgPhp\Eav\Attribute: App\Entity\Attribute
|
||||
MsgPhp\Eav\AttributeValue: App\Entity\AttributeValue
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
use MsgPhp\User\User;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
|
||||
return function (ContainerConfigurator $container) {
|
||||
$container->extension('msgphp_user', [
|
||||
'class_mapping' => [
|
||||
User::class => \App\Entity\User::class,
|
||||
],
|
||||
]);
|
||||
};
|
||||
3
msgphp/user-bundle/0.10/config/packages/msgphp_user.yaml
Normal file
3
msgphp/user-bundle/0.10/config/packages/msgphp_user.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
msgphp_user:
|
||||
class_mapping:
|
||||
MsgPhp\User\User: App\Entity\User
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
|
||||
|
||||
return function (RoutingConfigurator $routes) {
|
||||
$routes->import('.', 'webauthn');
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
webauthn_routes:
|
||||
resource: .
|
||||
type: webauthn
|
||||
Reference in New Issue
Block a user