ContainerAwareInterface::getContainer()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace League\Route;
4
5
use Psr\Container\ContainerInterface;
6
7
interface ContainerAwareInterface
8
{
9
    /**
10
     * Get the current container
11
     *
12
     * @return ContainerInterface|null
13
     */
14
    public function getContainer(): ?ContainerInterface;
15
16
    /**
17
     * Set the container implementation
18
     *
19
     * @param ContainerInterface $container
20
     *
21
     * @return static
22
     */
23
    public function setContainer(ContainerInterface $container): ContainerAwareInterface;
24
}
25