Поправил резолв

master v0.0.5
Rinsvent 3 years ago
parent 44fbf2015a
commit 519139bd9a
  1. 4
      src/Service/Transformer/Request/Headers/Header.php
  2. 4
      src/Service/Transformer/Request/Headers/UserAgent.php
  3. 4
      src/Service/Transformer/Request/Server/Ip.php
  4. 4
      src/Service/Transformer/Request/Server/Server.php
  5. 10
      src/Service/Transformer/Request/ServiceMeta.php

@ -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,

@ -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…
Cancel
Save