Skip to content

Commit 776a98d

Browse files
author
Jacob Bare
authored
Merge pull request #99 from zarathustra323/hotfix-0.3.14
Expose memory cache
2 parents a71f94f + c8881ad commit 776a98d

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/Store/Store.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,16 @@ public function findQuery($typeKey, array $criteria, array $fields = [], array $
149149
return new Collections\Collection($metadata, $this, $models, $recordSet->totalCount());
150150
}
151151

152+
/**
153+
* Gets the model memory cache (identity map).
154+
*
155+
* @return Cache
156+
*/
157+
public function getModelCache()
158+
{
159+
return $this->cache;
160+
}
161+
152162
/**
153163
* Searches for records (via the search layer) for a specific type, attribute, and value.
154164
* Uses the autocomplete logic to fullfill the request.

src/Version.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
*/
1010
class Version
1111
{
12-
const VERSION = '0.3.13';
13-
const ID = 3012;
12+
const VERSION = '0.3.14';
13+
const ID = 3014;
1414
const MAJOR = 0;
1515
const MINOR = 3;
16-
const PATCH = 13;
16+
const PATCH = 14;
1717
const EXTRA = '';
1818
}

0 commit comments

Comments
 (0)