| 1 | <?php |
||
| 8 | class UseCaseFeatureContext implements \Behat\Behat\Context\Context |
||
|
|
|||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * UseCaseFeatureContext constructor. |
||
| 13 | * |
||
| 14 | * @param DomainRepositoryInterface $domainRepository |
||
| 15 | */ |
||
| 16 | public function __construct(DomainRepositoryInterface $domainRepository) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @When I create usecase with :arg1 id for :arg2 domain |
||
| 22 | */ |
||
| 23 | public function iCreateUsecaseWithIdForDomain($arg1, $arg2) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @Then I should see new usecase in :arg1 domain |
||
| 30 | */ |
||
| 31 | public function iShouldSeeNewUsecaseInDomain($arg1) |
||
| 35 | } |
||
| 36 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.