/** * Load an entity by its id * * @param mixed $id The id value * * @return bool True if an entity was retrieved from the database else false */ public function loadEntity($id) : bool { $this->entity->setIdValue($id); return $this->loadEntityInDatabase(); }