1 | <?php |
||
10 | class PostId implements ConditionInterface { |
||
11 | /** |
||
12 | * Post id to check against |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $post_id = ''; |
||
17 | |||
18 | /** |
||
19 | * Constructor |
||
20 | * |
||
21 | * @param string $post_id |
||
22 | */ |
||
23 | public function __construct( $post_id ) { |
||
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | public function satisfied( Request $request ) { |
||
33 | |||
34 | /** |
||
35 | * {@inheritDoc} |
||
36 | */ |
||
37 | public function getArguments( Request $request ) { |
||
40 | } |
||
41 |