Skip to content

Commit 7a7463f

Browse files
committed
Implemented some improvement suggestions.
1 parent dd0f47f commit 7a7463f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Arrayzy
22

3-
A native PHP library for manipulating arrays in an OOP way.
3+
The wrapper for all PHP built-in array functions and easy, object-oriented array manipulation library. In short: Arrays on steroids.
44

55
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/e0235f5d-a89b-4add-b3c6-45813d2bf9eb/mini.png)](https://insight.sensiolabs.com/projects/e0235f5d-a89b-4add-b3c6-45813d2bf9eb)
66
[![Build Status](https://travis-ci.org/bocharsky-bw/Arrayzy.svg?branch=master)](https://travis-ci.org/bocharsky-bw/Arrayzy)
@@ -19,7 +19,7 @@ Each method operates on the same array and returns the array itself
1919
`create` prefix. This way has slightly better performance and is more
2020
convenient to use in an OOP way.
2121

22-
> **NOTE:** Check the [CreateClone](#createclone) section if you want to operate on a new instance INSTEAD of the instance itself.
22+
> **NOTE:** Check the [CreateClone](#createclone) section if you want to operate on a new instance to preserve the current one.
2323
2424
## ImmutableArray
2525

@@ -156,7 +156,7 @@ $a = new ImmutabelArray([1, 2, 3]);
156156
```
157157

158158
Also, new objects can be created with one of the public static methods
159-
prefixed with 'create'.
159+
prefixed with 'create':
160160

161161
* [create](#create)
162162
* [createFromJson](#createfromjson)
@@ -166,7 +166,7 @@ prefixed with 'create'.
166166

167167
## Usage
168168

169-
You can get access to the values like with the familiar PHP array indexing:
169+
You can get access to the values like with the familiar PHP array syntax:
170170

171171
``` php
172172
use Arrayzy\MutableArray as A;
@@ -186,7 +186,7 @@ print $a->offsetGet(1); // 'b'
186186

187187
### Chaining
188188

189-
*NOTE: The following methods and principles apply to ImmutableArray and MutableArray alike*
189+
*NOTE: The following methods and principles apply to `ImmutableArray` and `MutableArray` alike.*
190190

191191
Methods may be chained for ease of use:
192192

@@ -207,7 +207,7 @@ $a->toArray(); // [0 => 'c', 1 => 'a', 2 => 'e', 3 => 'd', 4 => 'b']
207207
### Converting
208208

209209
Easily convert instance array elements to a simple PHP `array`, `string`,
210-
`readable string` or JSON format:
210+
readable `string` or JSON format:
211211

212212
* [toArray](#toarray)
213213
* [toJson](#tojson)
@@ -715,7 +715,7 @@ $a->toArray(); // [0 => 'a', 1 => 'b', 2 => 'c']
715715

716716
### toJson
717717

718-
Creates JSON string from the array:
718+
Creates a JSON string from the array:
719719

720720
``` php
721721
$a = MutableArray::create(['a' => 1, 'b' => 2, 'c' => 3]);

0 commit comments

Comments
 (0)