Skip to content

Commit

Permalink
Remove functions
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysblank committed Dec 13, 2018
1 parent 31c2e49 commit 2f242c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 43 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,16 @@ Once it's installed, you can access its methods like so:

```php
Livy\Plumbing\ACF\Simple::getField('my-field');
// or
Livy\Plumbing\ACF\Function\field('my-field');

```

To save some typing, you can always use `use`:
```php
use Livy\Plumbing\ACF\Simple as ACF;
use function Livy\Plumbing\ACF\Function\field;

ACF::getField('my-field');
field('my-field');
```

### `fields()` / `getFields()`
### `getFields()`

This method can accept several fields to query at once, and will return them as an array (or a collection, if `Illuminate\Collection`) is available. See the method source for documentation.
38 changes: 0 additions & 38 deletions src/Functions.php

This file was deleted.

0 comments on commit 2f242c7

Please sign in to comment.