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

Allow chaining of set and save method. #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marky291
Copy link

@marky291 marky291 commented Jul 5, 2018

Allows code to be set and saved, simplified to one line.

$repository->set('foo', 'bar')->save();

Allows code to be set and saved, simplified to one line.
```
$repository->set('key', 'value')->save();
```
*
* @param array|string $key
* @param null $value
*

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whitespace found at end of line

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants