| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Imagify\Dependencies\League\Container\Definition; |
| 6 |
|
| 7 |
use Imagify\Dependencies\League\Container\ContainerAwareInterface; |
| 8 |
|
| 9 |
interface DefinitionInterface extends ContainerAwareInterface |
| 10 |
{ |
| 11 |
public function addArgument($arg): DefinitionInterface; |
| 12 |
public function addArguments(array $args): DefinitionInterface; |
| 13 |
public function addMethodCall(string $method, array $args = []): DefinitionInterface; |
| 14 |
public function addMethodCalls(array $methods = []): DefinitionInterface; |
| 15 |
public function addTag(string $tag): DefinitionInterface; |
| 16 |
public function getAlias(): string; |
| 17 |
public function getConcrete(); |
| 18 |
public function hasTag(string $tag): bool; |
| 19 |
public function isShared(): bool; |
| 20 |
public function resolve(); |
| 21 |
public function resolveNew(); |
| 22 |
public function setAlias(string $id): DefinitionInterface; |
| 23 |
public function setConcrete($concrete): DefinitionInterface; |
| 24 |
public function setShared(bool $shared): DefinitionInterface; |
| 25 |
} |
| 26 |
|