context = $context; $this->entity = $entity; $this->environment = $environment; } /** * Returns the context. * * @return \Behat\Behat\Context\Context */ public function getContext() { return $this->context; } /** * Returns the entity object. */ public function getEntity() { return $this->entity; } /** * {@inheritDoc} */ public function getEnvironment() { return $this->environment; } /** * {@inheritDoc} */ public function getSuite() { return $this->environment->getSuite(); } }