Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
150 lars 3
declare(strict_types=1);
4
 
148 lars 5
namespace Doctrine\Instantiator;
6
 
7
use Doctrine\Instantiator\Exception\ExceptionInterface;
8
 
9
/**
10
 * Instantiator provides utility methods to build objects without invoking their constructors
11
 */
12
interface InstantiatorInterface
13
{
14
    /**
15
     * @phpstan-param class-string<T> $className
16
     *
17
     * @phpstan-return T
18
     *
19
     * @throws ExceptionInterface
20
     *
21
     * @template T of object
22
     */
150 lars 23
    public function instantiate(string $className): object;
148 lars 24
}