コード例 #1
0
ファイル: DefinitionCall.php プロジェクト: OverByThere/Behat
 /**
  * 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;
 }
コード例 #2
0
ファイル: HookCall.php プロジェクト: OverByThere/Behat
 /**
  * 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;
 }
コード例 #3
0
 /**
  * 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;
 }