public function get($id) { $entities = $this->listEntries(['id' => $id]); if (count($entities) == 0) { return null; } return $entities[0]; }