File tree 1 file changed +2
-16
lines changed
1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -34,23 +34,9 @@ public function __construct(
34
34
/**
35
35
* {@inheritdoc}
36
36
*/
37
- public function get (string $ code ): array
37
+ public function get (string $ code, array $ queryParameters = [] ): array
38
38
{
39
- return $ this ->resourceClient ->getResource (static ::ATTRIBUTE_URI , [$ code ]);
40
- }
41
-
42
- /**
43
- * Get attribute with table select options.
44
- * This method is not part of the official API.
45
- * It is used to get the table select options of an attribute.
46
- *
47
- * @param string $code
48
- *
49
- * @return array
50
- */
51
- public function getWithTableSelectOptions (string $ code ): array
52
- {
53
- return $ this ->resourceClient ->getResource (static ::ATTRIBUTE_URI , [$ code ], ['with_table_select_options ' => true ]);
39
+ return $ this ->resourceClient ->getResource (static ::ATTRIBUTE_URI , [$ code ], $ queryParameters );
54
40
}
55
41
56
42
/**
You can’t perform that action at this time.
0 commit comments