PHP Class Elcodi\Bridge\BehatBridgeBundle\Abstracts\AbstractElcodiContext

Inheritance: extends Behat\MinkExtension\Context\RawMinkContext, implements Behat\Behat\Context\Context, implements Behat\Symfony2Extension\Context\KernelAwareContext
Afficher le fichier Open project: elcodi/bamboo

Protected Properties

Свойство Type Description
$application Symfony\Bundle\FrameworkBundle\Console\Application application
$kernel Symfony\Component\HttpKernel\KernelInterface Kernel

Méthodes publiques

Méthode Description
getRoute ( string $routeName, array $routeParameters = [] ) : string Get route given name and parameters
getUrlGenerator ( ) : Symfony\Component\Routing\Generator\UrlGeneratorInterface ** Get url generator
setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel ) Sets Kernel instance.

Méthodes protégées

Méthode Description
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface Returns Container instance.

Method Details

getContainer() protected méthode

Returns Container instance.
protected getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
Résultat Symfony\Component\DependencyInjection\ContainerInterface

getRoute() public méthode

Get route given name and parameters
public getRoute ( string $routeName, array $routeParameters = [] ) : string
$routeName string Route name
$routeParameters array Route parameters
Résultat string Route path

getUrlGenerator() public méthode

** Get url generator
public getUrlGenerator ( ) : Symfony\Component\Routing\Generator\UrlGeneratorInterface
Résultat Symfony\Component\Routing\Generator\UrlGeneratorInterface Url generator

setKernel() public méthode

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

Property Details

$application protected_oe property

application
protected Application,Symfony\Bundle\FrameworkBundle\Console $application
Résultat Symfony\Bundle\FrameworkBundle\Console\Application

$kernel protected_oe property

Kernel
protected KernelInterface,Symfony\Component\HttpKernel $kernel
Résultat Symfony\Component\HttpKernel\KernelInterface