just another orm...
View the Project on GitHub tflori/orm
» API Reference » ORM\Testing\SaveExpectation
Extends: Mockery\Expectation
public function withChanges(
array|\Mockery\Matcher\MatcherInterface $changes,
): $this
Pass an array of attribute => new value to expect exactly these changes, or a Mockery matcher (e.g.
m::subset(['title' => 'New'])) that gets the changes as array of attribute => new value.
| Returns | $this |
| Parameter | Type | Description | |
|---|---|---|---|
$changes |
**array | Mockery\Matcher\MatcherInterface** |
ORM\Testing\SaveExpectation::withChanges