Forms

  • search_tools
    • hotel
    • stars
    • dateRange
    • zone
    • travelers
    • honeymoon
    • chambers
    • _token

search_tools

Form type:
"App\Form\SearchToolsType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\DTO\SearchToolsDTO {#2091
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1189 …}
  -debug: true
  +hotel: null
  +stars: null
  +dateRange: "22/12/2024 - 26/12/2024"
  +fromAt: DateTimeImmutable @1734825600 {#2124
    date: 2024-12-22 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735257540 {#2125
    date: 2024-12-26 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => 5
    "child" => 13
    "teen" => 18
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
config_chambers
null
null
data
App\DTO\SearchToolsDTO {#2091
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1189 …}
  -debug: true
  +hotel: null
  +stars: null
  +dateRange: "22/12/2024 - 26/12/2024"
  +fromAt: DateTimeImmutable @1734825600 {#2124
    date: 2024-12-22 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735257540 {#2125
    date: 2024-12-26 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => 5
    "child" => 13
    "teen" => 18
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
same as passed value
from
DateTime @1734902192 {#2121
  date: 2024-12-22 21:16:32.258005 UTC (+00:00)
}
same as passed value
to
DateTime @1735247792 {#2122
  date: 2024-12-26 21:16:32.258026 UTC (+00:00)
}
same as passed value

Resolved Options

Option Value
action
""
allow_extra_fields
false
allow_file_upload
false
attr
[]
attr_translation_parameters
[]
auto_initialize
true
block_name
null
block_prefix
null
by_reference
true
compound
true
config_chambers
null
constraints
[]
csrf_field_name
"_token"
csrf_message
"The CSRF token is invalid. Please try to resubmit the form."
csrf_protection
true
csrf_token_id
null
csrf_token_manager
Symfony\Component\Security\Csrf\CsrfTokenManager {#622
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#623 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#738 …}
  -namespace: Closure() {#749 …}
}
data
App\DTO\SearchToolsDTO {#2091
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1189 …}
  -debug: true
  +hotel: null
  +stars: null
  +dateRange: "22/12/2024 - 26/12/2024"
  +fromAt: DateTimeImmutable @1734825600 {#2124
    date: 2024-12-22 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735257540 {#2125
    date: 2024-12-26 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => 5
    "child" => 13
    "teen" => 18
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
data_class
"App\DTO\SearchToolsDTO"
disabled
false
empty_data
Closure(FormInterface $form) {#2321
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "App\DTO\SearchToolsDTO"
  }
}
error_bubbling
true
error_mapping
[]
extra_fields_message
"This form should not contain extra fields."
form_attr
false
from
DateTime @1734902192 {#2121
  date: 2024-12-22 21:16:32.258005 UTC (+00:00)
}
getter
null
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
hotel_id
null
inherit_data
false
invalid_message
"This value is not valid."
invalid_message_parameters
[]
is_empty_callback
null
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
mapped
true
method
"POST"
post_max_size_message
"The uploaded file was too large. Please try to upload a smaller file."
priority
0
property_path
null
required
true
row_attr
[]
setter
null
stars
null
to
DateTime @1735247792 {#2122
  date: 2024-12-26 21:16:32.258026 UTC (+00:00)
}
translation_domain
null
trim
true
type
null
upload_max_size_message
Closure() {#2323
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#81 …}
    $message: Closure() {#2322 …}
    $translationDomain: "validators"
  }
}
validation_groups
null
zone
null

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "search_tools"
  "_search_tools"
]
cache_key
"_search_tools_search_tools"
compound
true
data
App\DTO\SearchToolsDTO {#2091
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1189 …}
  -debug: true
  +hotel: null
  +stars: null
  +dateRange: "22/12/2024 - 26/12/2024"
  +fromAt: DateTimeImmutable @1734825600 {#2124
    date: 2024-12-22 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735257540 {#2125
    date: 2024-12-26 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => 5
    "child" => 13
    "teen" => 18
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#2465
  -errors: []
  -form: Symfony\Component\Form\Form {#2478 …}
}
form
Symfony\Component\Form\FormView {#2324 …5}
full_name
"search_tools"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"search_tools"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
false
name
"search_tools"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
null
unique_block_prefix
"_search_tools"
valid
true
value
App\DTO\SearchToolsDTO {#2091
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1189 …}
  -debug: true
  +hotel: null
  +stars: null
  +dateRange: "22/12/2024 - 26/12/2024"
  +fromAt: DateTimeImmutable @1734825600 {#2124
    date: 2024-12-22 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735257540 {#2125
    date: 2024-12-26 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => 5
    "child" => 13
    "teen" => 18
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}