private function computeValidityPeriod($period) { return date('Y-m-d-H:i:s', strtotime("+$period min")); }