/** * Initializes definition call. * * @param Environment $environment * @param FeatureNode $feature * @param StepNode $step * @param Definition $definition * @param array $arguments * @param null|integer $errorReportingLevel */ public function __construct(Environment $environment, FeatureNode $feature, StepNode $step, Definition $definition, array $arguments, $errorReportingLevel = null) { parent::__construct($environment, $definition, $arguments, $errorReportingLevel); $this->feature = $feature; $this->step = $step; }
/** * Initializes hook call. * * @param HookScope $scope * @param Hook $hook * @param null|integer $errorReportingLevel */ public function __construct(HookScope $scope, Hook $hook, $errorReportingLevel = null) { parent::__construct($scope->getEnvironment(), $hook, array($scope), $errorReportingLevel); $this->scope = $scope; }
/** * Initializes call. * * @param Environment $environment * @param Definition $definition * @param Transformation $transformation * @param array $arguments */ public function __construct(Environment $environment, Definition $definition, Transformation $transformation, array $arguments) { parent::__construct($environment, $transformation, $arguments); $this->definition = $definition; }