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

31 lines
305 B
PHP
Raw Normal View History

2021-01-19 17:45:33 +08:00
<?php
namespace Annotation\Model;
use Attribute;
2021-01-20 15:45:53 +08:00
use Database\ActiveRecord;
2021-01-19 17:45:33 +08:00
/**
* Class Get
* @package Annotation\Model
*/
#[Attribute(Attribute::TARGET_METHOD)] class Get
{
2021-01-20 15:46:26 +08:00
/**
* Get constructor.
* @param string $name
*/
2021-01-19 17:48:28 +08:00
public function __construct(
public string $name
)
2021-01-19 17:45:33 +08:00
{
}
}