We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 067e8d5 commit 94c940aCopy full SHA for 94c940a
readme.md
@@ -946,3 +946,27 @@ isset($u['b']); // true
946
947
unset($u[1]);
948
```
949
+
950
+---
951
+### Arrayizes
952
953
+You can use this trait to arrayize all complex data.
954
955
+```php
956
+use Ahc\Underscore\Arrayizes;
957
958
+class Any
959
+{
960
+ use Arrayizes;
961
962
+ public function name()
963
+ {
964
+ $this->asArray($data);
965
+ }
966
+}
967
+```
968
969
970
+#### License
971
972
+> [MIT](./LICENSE) | © 2017-2018 | Jitendra Adhikari
0 commit comments