for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
/**
* Date: 21.04.2017
* Time: 11:40
*
* @author : Korotkov Danila <[email protected]>
* @copyright Copyright (c) 2016, Korotkov Danila
* @license http://www.gnu.org/licenses/gpl.html GNU GPLv3.0
*/
namespace Rudra;
* trait SetContainerTrait
* @package Rudra
trait SetContainerTrait
{
* @var ContainerInterface
protected $container;
* Middleware constructor.
* @param ContainerInterface $container
public function __construct(ContainerInterface $container)
$this->container = $container;
}
* @return ContainerInterface
public function container(): ContainerInterface
return $this->container;