private function buildVisitTime($array)
    {
        $result = [];
        foreach ($array as $pair) {
            $result[] = self::DIRECTIVE_VISIT_TIME . ':' . $pair['from'] . '-' . $pair['to'];
        }
        return $result;
    }
private function buildVisitTime($array)
    {
        $result = [];
        foreach ($array as $pair) {
            $result[] = self::DIRECTIVE_VISIT_TIME . ':' . $pair['from'] . '-' . $pair['to'];
        }
        return $result;
    }
private function buildVisitTime ( $ array ) { $ result = [ ] ; foreach ( $ array as $ pair ) { $ result [ ] = self :: DIRECTIVE_VISIT_TIME . ':' . $ pair [ 'from' ] . '-' . $ pair [ 'to' ] ; } return $ result ; }
Visit-time

@param int[]|string[] $array
@return string[]
Visit - time