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 {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "27/12/2024 - 31/12/2024"
  +fromAt: DateTimeImmutable @1735257600 {#3333
    date: 2024-12-27 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735689540 {#3332
    date: 2024-12-31 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "2"
    "child" => "12"
    "teen" => "17"
  ]
  +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 {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "27/12/2024 - 31/12/2024"
  +fromAt: DateTimeImmutable @1735257600 {#3333
    date: 2024-12-27 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735689540 {#3332
    date: 2024-12-31 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "2"
    "child" => "12"
    "teen" => "17"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
same as passed value
from
DateTime @1735273308 {#1008
  date: 2024-12-27 04:21:48.126972 UTC (+00:00)
}
same as passed value
to
DateTime @1735618908 {#1011
  date: 2024-12-31 04:21:48.126982 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 {#625
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#624 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#623 …}
  -namespace: Closure() {#731 …}
}
data
App\DTO\SearchToolsDTO {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "27/12/2024 - 31/12/2024"
  +fromAt: DateTimeImmutable @1735257600 {#3333
    date: 2024-12-27 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735689540 {#3332
    date: 2024-12-31 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "2"
    "child" => "12"
    "teen" => "17"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
data_class
"App\DTO\SearchToolsDTO"
disabled
false
empty_data
Closure(FormInterface $form) {#3651
  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 @1735273308 {#1008
  date: 2024-12-27 04:21:48.126972 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 @1735618908 {#1011
  date: 2024-12-31 04:21:48.126982 UTC (+00:00)
}
translation_domain
null
trim
true
type
null
upload_max_size_message
Closure() {#3653
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#81 …}
    $message: Closure() {#3652 …}
    $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 {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "27/12/2024 - 31/12/2024"
  +fromAt: DateTimeImmutable @1735257600 {#3333
    date: 2024-12-27 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735689540 {#3332
    date: 2024-12-31 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "2"
    "child" => "12"
    "teen" => "17"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#3793
  -errors: []
  -form: Symfony\Component\Form\Form {#3806 …}
}
form
Symfony\Component\Form\FormView {#3654 …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 {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "27/12/2024 - 31/12/2024"
  +fromAt: DateTimeImmutable @1735257600 {#3333
    date: 2024-12-27 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735689540 {#3332
    date: 2024-12-31 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "2"
    "child" => "12"
    "teen" => "17"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}