for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Maiorano\ObjectHydrator\Attributes;
use Attribute;
#[Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_METHOD)]
final class HydrationKey
{
/**
* @var string
*/
private string $key;
* @param string $key
public function __construct(string $key)
$this->key = $key;
}
* @return string
public function getKey(): string
return $this->key;