public static function setContainer(ContainerInterface $container) { static::$container = $container; }
public function _before(\Codeception\TestCase $test) { $container = new \League\Container\Container(); $this->initSeeInOutputTrait($container); Robo::setContainer($container); $this->setContainer($container); $this->getModule('Filesystem')->copyDir(codecept_data_dir() . 'claypit', codecept_data_dir() . 'sandbox'); }