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;
/**
* @Annotation
* @Target({"METHOD","PROPERTY"})
* @NamedArgumentConstructor()
*/
#[Attribute(Attribute::TARGET_PARAMETER | Attribute::TARGET_PROPERTY)]
final class Set
{
/** @var ""|class-string */
""|class-string
0
public $interface;
/** @var string */
public $name;
* @param ""|class-string $interface
public function __construct(string $interface, string $name = '')
$this->interface = $interface;
$this->name = $name;
}