public function get($class, $id) { $entityPool = $this->pool->key($class, $this->arr(), true); if ($entityPool->keyExists($id)) { return $entityPool->key($id); } return false; }