for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Fidry\AliceBundleExtension package.
*
* (c) Théo FIDRY <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Fidry\AliceBundleExtension\Context\Doctrine;
use Symfony\Component\HttpKernel\KernelInterface;
/**
* Context to load fixtures files with Alice loader.
* @author Théo FIDRY <[email protected]>
class AlicePHPCRContext extends AbstractAliceContext
{
* {@inheritdoc}
public function setKernel(KernelInterface $kernel)
$this->init(
$kernel,
$kernel->getContainer()->get('hautelook_alice.doctrine.phpcr.fixtures_finder'),
$kernel->getContainer()->get('hautelook_alice.fixtures.loader'),
$this->resolvePersister($kernel->getContainer()->get('doctrine.phpcr.entity_manager'))
);
return $this;
}
public function createSchema()
// TODO: Implement createDatabase() method.
public function dropSchema()
// TODO: Implement dropDatabase() method.
public function emptyDatabase()
// TODO: Implement emptyDatabase() method.