Files
kiri-core/Annotation/Model/Get.php
T

27 lines
248 B
PHP
Raw Normal View History

2021-01-19 17:45:33 +08:00
<?php
namespace Annotation\Model;
use Attribute;
/**
* Class Get
* @package Annotation\Model
*/
#[Attribute(Attribute::TARGET_METHOD)] class Get
{
2021-01-19 17:48:28 +08:00
public function __construct(
public string $name
)
2021-01-19 17:45:33 +08:00
{
2021-01-19 18:19:30 +08:00
var_dump($this->name);
2021-01-19 17:45:33 +08:00
}
}