| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class FnDefinition implements Definition, Shareable, CallableMethod, Taggable |
||
| 18 | { |
||
| 19 | use IdentifiableTrait; |
||
| 20 | use ShareableTrait; |
||
| 21 | use CallableMethodTrait; |
||
| 22 | use TaggableTrait; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Closure |
||
| 26 | */ |
||
| 27 | protected $fn; |
||
| 28 | |||
| 29 | public function __construct(Closure $fn) |
||
| 30 | { |
||
| 31 | $this->fn = $fn; |
||
| 32 | $this->setShared(false); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getConcrete(ContainerInterface $container) |
||
| 38 | } |
||
| 39 | } |
||
| 40 |