Argument
3 years ago
Definition
3 years ago
Exception
3 years ago
Inflector
5 years ago
ServiceProvider
3 years ago
Container.php
3 years ago
ContainerAwareInterface.php
3 years ago
ContainerAwareTrait.php
3 years ago
ReflectionContainer.php
3 years ago
ContainerAwareInterface.php
41 lines
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Vendor\League\Container; |
| 4 | |
| 5 | use Automattic\WooCommerce\Vendor\Psr\Container\ContainerInterface; |
| 6 | |
| 7 | interface ContainerAwareInterface |
| 8 | { |
| 9 | /** |
| 10 | * Set a container |
| 11 | * |
| 12 | * @param ContainerInterface $container |
| 13 | * |
| 14 | * @return self |
| 15 | */ |
| 16 | public function setContainer(ContainerInterface $container) : ContainerAwareInterface; |
| 17 | |
| 18 | /** |
| 19 | * Get the container |
| 20 | * |
| 21 | * @return ContainerInterface |
| 22 | */ |
| 23 | public function getContainer() : ContainerInterface; |
| 24 | |
| 25 | /** |
| 26 | * Set a container. This will be removed in favour of setContainer receiving Container in next major release. |
| 27 | * |
| 28 | * @param Container $container |
| 29 | * |
| 30 | * @return self |
| 31 | */ |
| 32 | public function setLeagueContainer(Container $container) : self; |
| 33 | |
| 34 | /** |
| 35 | * Get the container. This will be removed in favour of getContainer returning Container in next major release. |
| 36 | * |
| 37 | * @return Container |
| 38 | */ |
| 39 | public function getLeagueContainer() : Container; |
| 40 | } |
| 41 |