for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of Railt package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Railt\SDL\Frontend\Context;
* Class Container
class Container
{
* @var ContextInterface
private $context;
* @var mixed
private $value;
* Container constructor.
* @param ContextInterface $context
* @param mixed $value
public function __construct(ContextInterface $context, $value = null)
$this->context = $context;
$this->value = $value;
}
* @return ContextInterface
public function getContext(): ContextInterface
return $this->context;
public function setContext(ContextInterface $context): void
* @return mixed
public function getValue()
return $this->value;
public function setValue($value): void