/** * Constructor. Save internally the reference to the passed fixture manager * * @param \Cake\TestSuite\Fixture\FixtureManager $manager The fixture manager */ public function __construct(FixtureManager $manager) { if (isset($_SERVER['argv'])) { $manager->setDebug(in_array('--debug', $_SERVER['argv'])); } $this->_fixtureManager = $manager; $this->_fixtureManager->shutdown(); }