This commit is contained in:
2023-04-10 11:36:33 +08:00
parent c77b2ef3eb
commit aaa3fba8ba
4 changed files with 24 additions and 12 deletions
+6 -2
View File
@@ -7,6 +7,10 @@ namespace Database\Annotation;
use Database\Base\Setter;
use Kiri\Annotation\AbstractAttribute;
/**
* @deprecated
*/
#[\Attribute(\Attribute::TARGET_METHOD)] class Set extends AbstractAttribute
{
@@ -27,8 +31,8 @@ use Kiri\Annotation\AbstractAttribute;
*/
public function execute(mixed $class, mixed $method = null): bool
{
$keys = \Kiri::getDi()->get(Setter::class);
$keys->write($this->name, $class, $method);
// $keys = \Kiri::getDi()->get(Setter::class);
// $keys->write($this->name, $class, $method);
return true;
}