| 1 |
<?php |
| 2 |
/** |
| 3 |
* PHP-DI |
| 4 |
* |
| 5 |
* @link http://php-di.org/ |
| 6 |
* @copyright Matthieu Napoli (http://mnapoli.fr/) |
| 7 |
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file) |
| 8 |
*/ |
| 9 |
|
| 10 |
namespace DI\Definition; |
| 11 |
|
| 12 |
/** |
| 13 |
* Definition |
| 14 |
* |
| 15 |
* @author Matthieu Napoli <[email protected]> |
| 16 |
*/ |
| 17 |
interface Definition |
| 18 |
{ |
| 19 |
/** |
| 20 |
* Returns the name of the entry in the container |
| 21 |
* |
| 22 |
* @return string |
| 23 |
*/ |
| 24 |
public function getName(); |
| 25 |
|
| 26 |
/** |
| 27 |
* Returns the scope of the entry |
| 28 |
* |
| 29 |
* @return string |
| 30 |
*/ |
| 31 |
public function getScope(); |
| 32 |
} |
| 33 |
|