Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
36
vendor/league/container/src/ImmutableContainerAwareTrait.php
vendored
Normal file
36
vendor/league/container/src/ImmutableContainerAwareTrait.php
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
namespace League\Container;
|
||||
|
||||
use Interop\Container\ContainerInterface as InteropContainerInterface;
|
||||
|
||||
trait ImmutableContainerAwareTrait
|
||||
{
|
||||
/**
|
||||
* @var \Interop\Container\ContainerInterface
|
||||
*/
|
||||
protected $container;
|
||||
|
||||
/**
|
||||
* Set a container.
|
||||
*
|
||||
* @param \Interop\Container\ContainerInterface $container
|
||||
* @return $this
|
||||
*/
|
||||
public function setContainer(InteropContainerInterface $container)
|
||||
{
|
||||
$this->container = $container;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the container.
|
||||
*
|
||||
* @return \League\Container\ImmutableContainerInterface
|
||||
*/
|
||||
public function getContainer()
|
||||
{
|
||||
return $this->container;
|
||||
}
|
||||
}
|
||||
Reference in a new issue