for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Facile\MongoDbBundle\Fixtures;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Class AbstractContainerAwareFixture.
*/
abstract class AbstractContainerAwareFixture implements MongoFixtureInterface
{
/** @var ContainerInterface */
private $container;
* @param ContainerInterface $container
public function setContainer(ContainerInterface $container)
$this->container = $container;
}
* @return ContainerInterface
protected function getContainer(): ContainerInterface
return $this->container;