public setParameter ( string $name, mixed $value ) | ||
$name | string | The parameter name |
$value | mixed | The parameter value |
function setParameter($name, $value);
protected function setUp() { $this->container = new Container(); $this->container->setParameter('payum.template.layout', 'theLayout'); $this->container->setParameter('payum.template.obtain_credit_card', 'theObtainCreditCardTemplate'); $this->container->set('payum.http_client', $this->getMock(HttpClientInterface::class)); $this->container->set('twig', $this->getMock(\Twig_Environment::class, [], [], '', false)); }