for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Ray\Di\Di;
use Attribute;
use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor;
/**
* Annotates named things
*
* @Annotation
* @Target("METHOD")
* @NamedArgumentConstructor
* @psalm-immutable
*/
#[Attribute(Attribute::TARGET_PARAMETER | Attribute::TARGET_METHOD | Attribute::TARGET_PROPERTY)]
final class Named
{
/** @var string */
public $value;
public function __construct(string $value)
$this->value = $value;
}