1 | <?php |
||
16 | class DoctrinePlaceholderContext implements Context, PlaceholderBagAwareContext |
||
17 | { |
||
18 | use KernelDictionary; |
||
19 | |||
20 | /** |
||
21 | * @var PlaceholderBagInterface |
||
22 | */ |
||
23 | private $placeholderBag; |
||
24 | |||
25 | /** |
||
26 | * @param string $placeholder |
||
27 | * @param string $model Entity, Repository or class name |
||
28 | * @param string $criteria properties to filter on eg "id=foobar" parse_str supported |
||
29 | * @param string $property Symfony PropertyAccessor syntax eg "foo.bar" "foo[bar]" |
||
30 | * @Given /^I set a placeholder "([^"]*)" on Doctrine model "([^"]*)" with "([^"]*)" and "([^"]*)"$/ |
||
31 | */ |
||
32 | public function iSetAPlaceholderOnDoctrineModelWithCriteriaAndProperty( |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function setPlaceholderBag(PlaceholderBagInterface $placeholderBag) |
||
67 | } |
||
68 |