include missing

This commit is contained in:
icefox 2026-02-18 19:19:07 -03:00
parent 88b5850c32
commit d3e12785bb
No known key found for this signature in database
20 changed files with 584 additions and 4 deletions

View file

@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace Icefox\DTO\Attributes;
use Attribute;
#[Attribute(Attribute::TARGET_PARAMETER)]
class FromInput
{
public function __construct(public readonly string $name) {}
}

View file

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Icefox\DTO\Attributes;
use Attribute;
#[Attribute(Attribute::TARGET_PARAMETER)]
class FromMapper
{
/**
* @param class-string $class
*/
public function __construct(public readonly string $class) {}
}

View file

@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace Icefox\DTO\Attributes;
use Attribute;
#[Attribute(Attribute::TARGET_PARAMETER)]
class FromRouteParameter
{
public function __construct(public readonly string $name) {}
}