Merge remote-tracking branch 'origin/master'

This commit is contained in:
Reza
2015-10-01 08:48:37 +03:30
2 changed files with 5 additions and 3 deletions

View File

@ -5,11 +5,13 @@
"license": "MIT",
"authors": [
{
"name": "Reza",
"name": "Reza Salarmehr",
"email": "salarmehr@gmail.com"
}
],
"require": {},
"require": {
"php": ">=5.4.0"
},
"autoload": {
"psr-4": {
"Salarmehr\\": "src/"

View File

@ -1,6 +1,6 @@
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.
2. You will get `null` if an index does not exists.