Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace DI\Compiler;
6
 
7
use DI\Factory\RequestedEntry;
8
 
9
/**
10
 * @author Matthieu Napoli <matthieu@mnapoli.fr>
11
 */
12
class RequestedEntryHolder implements RequestedEntry
13
{
14
    public function __construct(
15
        private string $name,
16
    ) {
17
    }
18
 
19
    public function getName() : string
20
    {
21
        return $this->name;
22
    }
23
}