Merge remote-tracking branch 'origin/master'
This commit is contained in:
@ -5,11 +5,13 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Reza",
|
"name": "Reza Salarmehr",
|
||||||
"email": "salarmehr@gmail.com"
|
"email": "salarmehr@gmail.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {},
|
"require": {
|
||||||
|
"php": ">=5.4.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Salarmehr\\": "src/"
|
"Salarmehr\\": "src/"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Ary
|
Ary
|
||||||
===
|
===
|
||||||
Are you tired from casting objects and array to each other? Ary is a light class/function that makes accessing array items more convenient.
|
Are you tired from casting objects and arrays to each other? Don't do that anymore! Ary is a light class/function that makes accessing array items more convenient.
|
||||||
|
|
||||||
1. You can access array items using `->` or `[]` syntax.
|
1. You can access array items using `->` or `[]` syntax.
|
||||||
2. You will get `null` if an index does not exists.
|
2. You will get `null` if an index does not exists.
|
||||||
|
Reference in New Issue
Block a user