1 | <?php |
||
13 | abstract class AbstractLocation implements ResponseLocationInterface |
||
14 | { |
||
15 | /** @var string $locationName */ |
||
16 | protected $locationName; |
||
17 | |||
18 | /** |
||
19 | * Set the name of the location |
||
20 | * |
||
21 | * @param $locationName |
||
22 | */ |
||
23 | 4 | public function __construct($locationName) |
|
27 | |||
28 | /** |
||
29 | * @param ResultInterface $result |
||
30 | * @param ResponseInterface $response |
||
31 | * @param Parameter $model |
||
32 | * @return ResultInterface |
||
33 | */ |
||
34 | public function before( |
||
41 | |||
42 | /** |
||
43 | * @param ResultInterface $result |
||
44 | * @param ResponseInterface $response |
||
45 | * @param Parameter $model |
||
46 | * @return ResultInterface |
||
47 | */ |
||
48 | public function after( |
||
55 | |||
56 | /** |
||
57 | * @param ResultInterface $result |
||
58 | * @param ResponseInterface $response |
||
59 | * @param Parameter $param |
||
60 | * @return ResultInterface |
||
61 | */ |
||
62 | public function visit( |
||
69 | } |
||
70 |