Поправил резолв
This commit is contained in:
parent
44fbf2015a
commit
519139bd9a
@ -2,10 +2,10 @@
|
||||
|
||||
namespace Rinsvent\TransformerBundle\Service\Transformer\Request\Headers;
|
||||
|
||||
use Rinsvent\Transformer\Transformer\Meta;
|
||||
use Rinsvent\TransformerBundle\Service\Transformer\Request\ServiceMeta;
|
||||
|
||||
#[\Attribute]
|
||||
class Header extends Meta
|
||||
class Header extends ServiceMeta
|
||||
{
|
||||
public function __construct(
|
||||
public string $property,
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
namespace Rinsvent\TransformerBundle\Service\Transformer\Request\Headers;
|
||||
|
||||
use Rinsvent\Transformer\Transformer\Meta;
|
||||
use Rinsvent\TransformerBundle\Service\Transformer\Request\ServiceMeta;
|
||||
|
||||
#[\Attribute]
|
||||
class UserAgent extends Meta
|
||||
class UserAgent extends ServiceMeta
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
namespace Rinsvent\TransformerBundle\Service\Transformer\Request\Server;
|
||||
|
||||
use Rinsvent\Transformer\Transformer\Meta;
|
||||
use Rinsvent\TransformerBundle\Service\Transformer\Request\ServiceMeta;
|
||||
|
||||
#[\Attribute]
|
||||
class Ip extends Meta
|
||||
class Ip extends ServiceMeta
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
namespace Rinsvent\TransformerBundle\Service\Transformer\Request\Server;
|
||||
|
||||
use Rinsvent\Transformer\Transformer\Meta;
|
||||
use Rinsvent\TransformerBundle\Service\Transformer\Request\ServiceMeta;
|
||||
|
||||
#[\Attribute]
|
||||
class Server extends Meta
|
||||
class Server extends ServiceMeta
|
||||
{
|
||||
public function __construct(
|
||||
public string $property,
|
||||
|
10
src/Service/Transformer/Request/ServiceMeta.php
Normal file
10
src/Service/Transformer/Request/ServiceMeta.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Rinsvent\TransformerBundle\Service\Transformer\Request;
|
||||
|
||||
use Rinsvent\Transformer\Transformer\Meta;
|
||||
|
||||
abstract class ServiceMeta extends Meta
|
||||
{
|
||||
public const TYPE = 'service';
|
||||
}
|
Loading…
Reference in New Issue
Block a user