Subversion-Projekte lars-tiefland.laravel_shop

Revision

Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

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