File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 55use PluginMaster \Bootstrap \System \Helpers \App ;
66use PluginMaster \Contracts \Enqueue \EnqueueInterface ;
77
8+
89class Enqueue implements EnqueueInterface
910{
1011 /**
@@ -91,11 +92,6 @@ private function getCurrentIndex(): int
9192 return count ($ this ->data ) - 1 ;
9293 }
9394
94- public function getData (): array
95- {
96- return $ this ->data ;
97- }
98-
9995 /**
10096 * @return Enqueue
10197 */
@@ -233,6 +229,19 @@ public function inlineStyle(string $data, string $handle = ''): void
233229 ];
234230 }
235231
232+ private function getData (): array
233+ {
234+ return $ this ->data ;
235+ }
236+
237+ public function __call ($ method , $ args ): array
238+ {
239+ if ($ method == 'getData ' ){
240+ return $ this ->getData ();
241+ }
242+
243+ return [];
244+ }
236245}
237246
238247
You can’t perform that action at this time.
0 commit comments