/** * Closes and unlocks the bean * @param $deco * @return unknown_type */ public static function close($deco) { RedBean_OODB::closeBean($deco->getData()); }