Skip to content

Commit 7bee1a8

Browse files
- Added setExists() method to Collection.
1 parent 4e41737 commit 7bee1a8

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/Collection.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,18 @@ public function getSynonyms(): Synonyms
9191
return $this->synonyms;
9292
}
9393

94+
/**
95+
* Set collection exists flag.
96+
*
97+
* @param bool $exists
98+
*
99+
* @return void
100+
*/
101+
public function setExists(bool $exists): void
102+
{
103+
$this->exists = $exists;
104+
}
105+
94106
/**
95107
* @return bool|null
96108
*/

0 commit comments

Comments
 (0)