for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Lichtenwallner (https://lichtenwallner.at)
*
* @see https://github.com/jolicht/markdown-cms for the canonical source repository
* @license https://github.com/jolicht/markdown-cms/blob/master/LICENSE MIT
* @copyright Copyright (c) Johannes Lichtenwallner
*/
declare(strict_types = 1);
namespace JolichtTest\MarkdownCms;
use Aura\Di\ContainerConfigInterface;
use Aura\Di\Container;
use Zend\Expressive\Template\TemplateRendererInterface;
use Prophecy\Prophet;
class TestContainerConfig implements ContainerConfigInterface
{
* Define
* {@inheritDoc}
* @see \Aura\Di\ContainerConfigInterface::define()
public function define(Container $di)
$prophet = new Prophet();
$renderer = $prophet->prophesize(TemplateRendererInterface::class)->reveal();
$di->set(TemplateRendererInterface::class, $renderer);
}
* Modify
* @see \Aura\Di\ContainerConfigInterface::modify()
public function modify(Container $di)