Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Merge branch 'thotty-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasgrimm committed Mar 22, 2016
2 parents cde0d48 + 5f833d3 commit 578966a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $sName = A::get($post, 'user/basicInformation/name');
$sSurname = A::get($post, 'user/basicInformation/surname');

// with default value
$sLocale = A:get($post, 'user/locale', 'Europe/Dublin');
$sLocale = A::get($post, 'user/locale', 'Europe/Dublin');

```

Expand All @@ -75,7 +75,7 @@ $aUser = array();
$sName = $aUser['user']['basicInformation']['name'] = 'Mathias Grimm';
// ===================================================================

// ArrayPath
// ArrayPath
$aUser = array();
$sName = A::set($aUser, 'user/basicInformation/name', 'Mathias');
```
Expand All @@ -100,7 +100,7 @@ if (array_key_exists('user', (array) $aUser)) {

// ===================================================================

// ArrayPath
// ArrayPath
$bExists = A::exists($aUser, 'user/basicInformation/name');
```

Expand All @@ -119,7 +119,7 @@ if (isset($aUser['user']['basicInformation']['name'])) {
$sName = A::remove($aUser, 'user/basicInformation/name');
```

Example 5 (Using a custom separator)
Example 5 (Using a custom separator)
------------------------------------
```php
<?php
Expand Down

0 comments on commit 578966a

Please sign in to comment.