File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -34,23 +34,9 @@ public function __construct(
3434 /**
3535 * {@inheritdoc}
3636 */
37- public function get (string $ code ): array
37+ public function get (string $ code, array $ queryParameters = [] ): array
3838 {
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 );
5440 }
5541
5642 /**
You can’t perform that action at this time.
0 commit comments