18 lines
398 B
PHP
18 lines
398 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace League\Container\Definition;
|
||
|
|
||
|
use League\Container\ImmutableContainerAwareInterface;
|
||
|
|
||
|
interface DefinitionFactoryInterface extends ImmutableContainerAwareInterface
|
||
|
{
|
||
|
/**
|
||
|
* Return a definition based on type of concrete.
|
||
|
*
|
||
|
* @param string $alias
|
||
|
* @param mixed $concrete
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getDefinition($alias, $concrete);
|
||
|
}
|