PluginProbe
The Innovative Form Builder – IvyForms / 0.2
The Innovative Form Builder – IvyForms v0.2
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / backend / vendor / php-di / php-di / src / FactoryInterface.php

FactoryInterface.php in The Innovative Form Builder – IvyForms 0.2, at backend/vendor/php-di/php-di/src/FactoryInterface.php

32 lines 1002 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace DI;
6
7 /**
8 * Describes the basic interface of a factory.
9 *
10 * @api
11 *
12 * @since 4.0
13 * @author Matthieu Napoli <[email protected]>
14 */
15 interface FactoryInterface
16 {
17 /**
18 * Resolves an entry by its name. If given a class name, it will return a new instance of that class.
19 *
20 * @param string $name Entry name or a class name.
21 * @param array $parameters Optional parameters to use to build the entry. Use this to force specific
22 * parameters to specific values. Parameters not defined in this array will
23 * be automatically resolved.
24 *
25 * @throws \InvalidArgumentException The name parameter must be of type string.
26 * @throws DependencyException Error while resolving the entry.
27 * @throws NotFoundException No entry or class found for the given name.
28 * @return mixed
29 */
30 public function make($name, array $parameters = []);
31 }
32