1<?php
2
3namespace Doctrine\Instantiator;
4
5use Doctrine\Instantiator\Exception\ExceptionInterface;
6
7/**
8 * Instantiator provides utility methods to build objects without invoking their constructors
9 */
10interface InstantiatorInterface
11{
12    /**
13     * @param string $className
14     *
15     * @return object
16     *
17     * @throws ExceptionInterface
18     */
19    public function instantiate($className);
20}
21