18 lines
307 B
PHP
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;
|
||
|
}*/
|
||
|
}
|