This repository was archived by the owner on Jul 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
src/Amara/OneHydra/Object Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ class PageObject implements PageObjectInterface {
27
27
/** @var \stdClass */
28
28
private $ serverSide ;
29
29
30
- CONST MAIN_LINKS_SECTION = 'main links ' ;
31
-
32
- CONST RELATED_LINKS_SECTION = 'related links ' ;
33
-
34
30
/**
35
31
* @return \stdClass
36
32
*/
@@ -133,14 +129,14 @@ public function setServerSide($serverSide) {
133
129
* @return array
134
130
*/
135
131
public function getMainLinks () {
136
- return $ this ->getLinkSection (PageObject ::MAIN_LINKS_SECTION );
132
+ return $ this ->getLinkSection (PageObjectInterface ::MAIN_LINKS_SECTION );
137
133
}
138
134
139
135
/**
140
136
* @return array
141
137
*/
142
138
public function getRelatedLinks () {
143
- return $ this ->getLinkSection (PageObject ::RELATED_LINKS_SECTION );
139
+ return $ this ->getLinkSection (PageObjectInterface ::RELATED_LINKS_SECTION );
144
140
}
145
141
146
142
/**
Original file line number Diff line number Diff line change 6
6
namespace Amara \OneHydra \Object ;
7
7
8
8
interface PageObjectInterface {
9
+
10
+ CONST MAIN_LINKS_SECTION = 'main links ' ;
11
+
12
+ CONST RELATED_LINKS_SECTION = 'related links ' ;
13
+
9
14
/**
10
15
* @return \stdClass
11
16
*/
You can’t perform that action at this time.
0 commit comments