@@ -56,7 +56,7 @@ protected function getFlushCacheKeys(TestAutoincrementEntity|AbstractEntity $ent
5656
5757 public function findByPk(int $id): ?TestAutoincrementEntity
5858 {
59- return $this->createEntity($this->findByPkCachedInternal($id) );
59+ return $this->_findByPkCached($id );
6060 }
6161
6262
@@ -65,13 +65,13 @@ public function findByPk(int $id): ?TestAutoincrementEntity
6565 */
6666 public function findAll(): array
6767 {
68- return $this->createEntities($this->findAllCachedInternal() );
68+ return $this->_findAllCached( );
6969 }
7070
7171
7272 public function countAll(): int
7373 {
74- return $this->countAllCachedInternal ();
74+ return $this->_countAllCached ();
7575 }
7676}
7777 '
@@ -105,7 +105,7 @@ protected function getFlushCacheKeys(TestCompositeEntity|AbstractEntity $entity)
105105
106106 public function findByPk(int $user_id, int $post_id): ?TestCompositeEntity
107107 {
108- return $this->createEntity($this->findOneCachedInternal( [ \'user_id \' => $user_id, \'post_id \' => $post_id]) );
108+ return $this->_findOneCached( [ \'user_id \' => $user_id, \'post_id \' => $post_id]);
109109 }
110110
111111
@@ -114,13 +114,13 @@ public function findByPk(int $user_id, int $post_id): ?TestCompositeEntity
114114 */
115115 public function findAll(): array
116116 {
117- return $this->createEntities($this->findAllCachedInternal() );
117+ return $this->_findAllCached( );
118118 }
119119
120120
121121 public function countAll(): int
122122 {
123- return $this->countAllCachedInternal ();
123+ return $this->_countAllCached ();
124124 }
125125}
126126 '
0 commit comments