PHP Class Knp\Bundle\KnpBundlesBundle\Features\Context\SolrContext

Inheritance: extends Behat\Behat\Context\BehatContext, implements Behat\Symfony2Extension\Context\KernelAwareInterface
Show file Open project: KnpLabs/KnpBundles

Public Methods

Method Description
bundlesAreIndexed ( )
setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel ) Sets Kernel instance.

Protected Methods

Method Description
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface gets container from kernel
isSolrEnabled ( )

Method Details

bundlesAreIndexed() public method

public bundlesAreIndexed ( )

getContainer() protected method

gets container from kernel
protected getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
return Symfony\Component\DependencyInjection\ContainerInterface

isSolrEnabled() protected method

protected isSolrEnabled ( )

setKernel() public method

Sets Kernel instance.
public setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface HttpKernel instance