swoole-framwork/core/annotations/Value.php
2024-05-20 11:51:07 +08:00

18 lines
307 B
PHP

<?php
namespace Core\annotations;
/**
* @Annotation
* @Target({"PROPERTY"})
*/
class Value
{
/*public $name;
public function do()
{
$env = parse_ini_file('./.env');
if (isset($env[$this->name])) {
return $env[$this->name];
}
return false;
}*/
}