| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Imagify\Dependencies\League\Container\Definition; |
| 6 |
|
| 7 |
use IteratorAggregate; |
| 8 |
use Imagify\Dependencies\League\Container\ContainerAwareInterface; |
| 9 |
|
| 10 |
interface DefinitionAggregateInterface extends ContainerAwareInterface, IteratorAggregate |
| 11 |
{ |
| 12 |
public function add(string $id, $definition): DefinitionInterface; |
| 13 |
public function addShared(string $id, $definition): DefinitionInterface; |
| 14 |
public function getDefinition(string $id): DefinitionInterface; |
| 15 |
public function has(string $id): bool; |
| 16 |
public function hasTag(string $tag): bool; |
| 17 |
public function resolve(string $id); |
| 18 |
public function resolveNew(string $id); |
| 19 |
public function resolveTagged(string $tag): array; |
| 20 |
public function resolveTaggedNew(string $tag): array; |
| 21 |
} |
| 22 |
|