GET https://garage.farahtech.ma/appointment/1/edit

Forms

  • appointment
    • title
    • customer
    • appointmentDate
    • appointmentTime
    • duration
    • type
    • status
    • estimatedCost
    • description
    • notes
    • vehicle
    • _token

appointment

Form type:
"App\Form\AppointmentType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\Entity\Appointment {#1020
  -id: 1
  -customer: Proxies\__CG__\App\Entity\Customer {#993
    -id: 4
    -firstName: "STE"
    -lastName: "SARL"
    -email: "[email protected]"
    -phone: "0613231095"
    -address: "LOT AL MAGHREB EL JADID N1889 LARACHE"
    -city: "LARACHE"
    -postalCode: "92000"
    -nature: "societe"
    -notes: null
    -createdAt: DateTime @1755777143 {#1506
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777143 {#1520
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -vehicles: Doctrine\ORM\PersistentCollection {#1508
      #collection: Doctrine\Common\Collections\ArrayCollection {#1580 …}
      #initialized: true
      -snapshot: [ …1]
      -owner: Proxies\__CG__\App\Entity\Customer {#993}
      -association: Symfony\Component\VarDumper\Caster\CutStub {#4075 …}
      -backRefFieldName: "customer"
      -isDirty: false
      -em: Container6xBjgVf\EntityManagerGhost614a58f {#250 …12}
      -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#4113 …}
    }
    -repairs: Doctrine\ORM\PersistentCollection {#1566 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1568 …}
    -invoices: Doctrine\ORM\PersistentCollection {#1677 …}
    -quotes: Doctrine\ORM\PersistentCollection {#1671 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#982 …}
  }
  -vehicle: Proxies\__CG__\App\Entity\Vehicle {#1044
    -id: 3
    -customer: Proxies\__CG__\App\Entity\Customer {#993}
    -brand: "DACIA"
    -model: "LOGAN"
    -year: 2014
    -licensePlate: "20453/A/42"
    -registrationNumber: null
    -vin: null
    -mileage: 150000
    -fuelType: "diesel"
    -color: "TAXI"
    -notes: null
    -createdAt: DateTime @1755777261 {#1758
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777261 {#1759
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -photos: Doctrine\ORM\PersistentCollection {#1765 …}
    -repairs: Doctrine\ORM\PersistentCollection {#1766 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1763 …}
    -diagnostics: Doctrine\ORM\PersistentCollection {#1776 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#1047 …}
  }
  -title: "P"
  -description: null
  -appointmentDate: DateTime @1756080000 {#1016
    date: 2025-08-25 00:00:00.0 UTC (+00:00)
  }
  -appointmentTime: "12:30"
  -duration: 60
  -status: "scheduled"
  -type: "repair"
  -mechanic: null
  -estimatedCost: null
  -notes: null
  -createdAt: DateTime @1756046931 {#1017
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
  -updatedAt: DateTime @1756046931 {#1018
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
action
"/appointment/1/edit"
same as passed value
data
App\Entity\Appointment {#1020
  -id: 1
  -customer: Proxies\__CG__\App\Entity\Customer {#993
    -id: 4
    -firstName: "STE"
    -lastName: "SARL"
    -email: "[email protected]"
    -phone: "0613231095"
    -address: "LOT AL MAGHREB EL JADID N1889 LARACHE"
    -city: "LARACHE"
    -postalCode: "92000"
    -nature: "societe"
    -notes: null
    -createdAt: DateTime @1755777143 {#1506
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777143 {#1520
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -vehicles: Doctrine\ORM\PersistentCollection {#1508
      #collection: Doctrine\Common\Collections\ArrayCollection {#1580 …}
      #initialized: true
      -snapshot: [ …1]
      -owner: Proxies\__CG__\App\Entity\Customer {#993}
      -association: Symfony\Component\VarDumper\Caster\CutStub {#4075 …}
      -backRefFieldName: "customer"
      -isDirty: false
      -em: Container6xBjgVf\EntityManagerGhost614a58f {#250 …12}
      -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#4113 …}
    }
    -repairs: Doctrine\ORM\PersistentCollection {#1566 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1568 …}
    -invoices: Doctrine\ORM\PersistentCollection {#1677 …}
    -quotes: Doctrine\ORM\PersistentCollection {#1671 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#982 …}
  }
  -vehicle: Proxies\__CG__\App\Entity\Vehicle {#1044
    -id: 3
    -customer: Proxies\__CG__\App\Entity\Customer {#993}
    -brand: "DACIA"
    -model: "LOGAN"
    -year: 2014
    -licensePlate: "20453/A/42"
    -registrationNumber: null
    -vin: null
    -mileage: 150000
    -fuelType: "diesel"
    -color: "TAXI"
    -notes: null
    -createdAt: DateTime @1755777261 {#1758
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777261 {#1759
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -photos: Doctrine\ORM\PersistentCollection {#1765 …}
    -repairs: Doctrine\ORM\PersistentCollection {#1766 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1763 …}
    -diagnostics: Doctrine\ORM\PersistentCollection {#1776 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#1047 …}
  }
  -title: "P"
  -description: null
  -appointmentDate: DateTime @1756080000 {#1016
    date: 2025-08-25 00:00:00.0 UTC (+00:00)
  }
  -appointmentTime: "12:30"
  -duration: 60
  -status: "scheduled"
  -type: "repair"
  -mechanic: null
  -estimatedCost: null
  -notes: null
  -createdAt: DateTime @1756046931 {#1017
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
  -updatedAt: DateTime @1756046931 {#1018
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
}
same as passed value

Resolved Options

Option Value
action
"/appointment/1/edit"
allow_extra_fields
false
allow_file_upload
false
attr
[
  "data-controller" => "appointment"
  "data-appointment-customer-vehicles-url-value" => "/appointment/api/customer/{id}/vehicles"
]
attr_translation_parameters
[]
auto_initialize
true
block_name
null
block_prefix
null
by_reference
true
compound
true
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\SameOriginCsrfTokenManager {#577
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#205 …}
  -logger: Monolog\Logger {#106 …}
  -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#576 …}
  -tokenIds: [
    "submit" => 0
    "authenticate" => 1
    "logout" => 2
  ]
  -checkHeader: 1
  -cookieName: "csrf-token"
}
data
App\Entity\Appointment {#1020
  -id: 1
  -customer: Proxies\__CG__\App\Entity\Customer {#993
    -id: 4
    -firstName: "STE"
    -lastName: "SARL"
    -email: "[email protected]"
    -phone: "0613231095"
    -address: "LOT AL MAGHREB EL JADID N1889 LARACHE"
    -city: "LARACHE"
    -postalCode: "92000"
    -nature: "societe"
    -notes: null
    -createdAt: DateTime @1755777143 {#1506
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777143 {#1520
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -vehicles: Doctrine\ORM\PersistentCollection {#1508
      #collection: Doctrine\Common\Collections\ArrayCollection {#1580 …}
      #initialized: true
      -snapshot: [ …1]
      -owner: Proxies\__CG__\App\Entity\Customer {#993}
      -association: Symfony\Component\VarDumper\Caster\CutStub {#4075 …}
      -backRefFieldName: "customer"
      -isDirty: false
      -em: Container6xBjgVf\EntityManagerGhost614a58f {#250 …12}
      -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#4113 …}
    }
    -repairs: Doctrine\ORM\PersistentCollection {#1566 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1568 …}
    -invoices: Doctrine\ORM\PersistentCollection {#1677 …}
    -quotes: Doctrine\ORM\PersistentCollection {#1671 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#982 …}
  }
  -vehicle: Proxies\__CG__\App\Entity\Vehicle {#1044
    -id: 3
    -customer: Proxies\__CG__\App\Entity\Customer {#993}
    -brand: "DACIA"
    -model: "LOGAN"
    -year: 2014
    -licensePlate: "20453/A/42"
    -registrationNumber: null
    -vin: null
    -mileage: 150000
    -fuelType: "diesel"
    -color: "TAXI"
    -notes: null
    -createdAt: DateTime @1755777261 {#1758
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777261 {#1759
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -photos: Doctrine\ORM\PersistentCollection {#1765 …}
    -repairs: Doctrine\ORM\PersistentCollection {#1766 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1763 …}
    -diagnostics: Doctrine\ORM\PersistentCollection {#1776 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#1047 …}
  }
  -title: "P"
  -description: null
  -appointmentDate: DateTime @1756080000 {#1016
    date: 2025-08-25 00:00:00.0 UTC (+00:00)
  }
  -appointmentTime: "12:30"
  -duration: 60
  -status: "scheduled"
  -type: "repair"
  -mechanic: null
  -estimatedCost: null
  -notes: null
  -createdAt: DateTime @1756046931 {#1017
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
  -updatedAt: DateTime @1756046931 {#1018
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
}
data_class
"App\Entity\Appointment"
disabled
false
empty_data
Closure(FormInterface $form) {#1234
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "App\Entity\Appointment"
  }
}
error_bubbling
true
error_mapping
[]
extra_fields_message
"This form should not contain extra fields."
form_attr
false
getter
null
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
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
translation_domain
null
trim
true
upload_max_size_message
Closure() {#1232
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#98 …}
    $message: Closure() {#1233 …}
    $translationDomain: "validators"
  }
}
validation_groups
null

View Vars

Variable Value
action
"/appointment/1/edit"
attr
[
  "data-controller" => "appointment"
  "data-appointment-customer-vehicles-url-value" => "/appointment/api/customer/{id}/vehicles"
]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "appointment"
  "_appointment"
]
cache_key
"_appointment_appointment"
compound
true
data
App\Entity\Appointment {#1020
  -id: 1
  -customer: Proxies\__CG__\App\Entity\Customer {#993
    -id: 4
    -firstName: "STE"
    -lastName: "SARL"
    -email: "[email protected]"
    -phone: "0613231095"
    -address: "LOT AL MAGHREB EL JADID N1889 LARACHE"
    -city: "LARACHE"
    -postalCode: "92000"
    -nature: "societe"
    -notes: null
    -createdAt: DateTime @1755777143 {#1506
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777143 {#1520
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -vehicles: Doctrine\ORM\PersistentCollection {#1508
      #collection: Doctrine\Common\Collections\ArrayCollection {#1580 …}
      #initialized: true
      -snapshot: [ …1]
      -owner: Proxies\__CG__\App\Entity\Customer {#993}
      -association: Symfony\Component\VarDumper\Caster\CutStub {#4075 …}
      -backRefFieldName: "customer"
      -isDirty: false
      -em: Container6xBjgVf\EntityManagerGhost614a58f {#250 …12}
      -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#4113 …}
    }
    -repairs: Doctrine\ORM\PersistentCollection {#1566 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1568 …}
    -invoices: Doctrine\ORM\PersistentCollection {#1677 …}
    -quotes: Doctrine\ORM\PersistentCollection {#1671 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#982 …}
  }
  -vehicle: Proxies\__CG__\App\Entity\Vehicle {#1044
    -id: 3
    -customer: Proxies\__CG__\App\Entity\Customer {#993}
    -brand: "DACIA"
    -model: "LOGAN"
    -year: 2014
    -licensePlate: "20453/A/42"
    -registrationNumber: null
    -vin: null
    -mileage: 150000
    -fuelType: "diesel"
    -color: "TAXI"
    -notes: null
    -createdAt: DateTime @1755777261 {#1758
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777261 {#1759
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -photos: Doctrine\ORM\PersistentCollection {#1765 …}
    -repairs: Doctrine\ORM\PersistentCollection {#1766 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1763 …}
    -diagnostics: Doctrine\ORM\PersistentCollection {#1776 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#1047 …}
  }
  -title: "P"
  -description: null
  -appointmentDate: DateTime @1756080000 {#1016
    date: 2025-08-25 00:00:00.0 UTC (+00:00)
  }
  -appointmentTime: "12:30"
  -duration: 60
  -status: "scheduled"
  -type: "repair"
  -mechanic: null
  -estimatedCost: null
  -notes: null
  -createdAt: DateTime @1756046931 {#1017
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
  -updatedAt: DateTime @1756046931 {#1018
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#1916
  -errors: []
  -form: Symfony\Component\Form\Form {#1473 …}
}
form
Symfony\Component\Form\FormView {#1415 …5}
full_name
"appointment"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"appointment"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
false
name
"appointment"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
null
unique_block_prefix
"_appointment"
valid
true
value
App\Entity\Appointment {#1020
  -id: 1
  -customer: Proxies\__CG__\App\Entity\Customer {#993
    -id: 4
    -firstName: "STE"
    -lastName: "SARL"
    -email: "[email protected]"
    -phone: "0613231095"
    -address: "LOT AL MAGHREB EL JADID N1889 LARACHE"
    -city: "LARACHE"
    -postalCode: "92000"
    -nature: "societe"
    -notes: null
    -createdAt: DateTime @1755777143 {#1506
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777143 {#1520
      date: 2025-08-21 11:52:23.0 UTC (+00:00)
    }
    -vehicles: Doctrine\ORM\PersistentCollection {#1508
      #collection: Doctrine\Common\Collections\ArrayCollection {#1580 …}
      #initialized: true
      -snapshot: [ …1]
      -owner: Proxies\__CG__\App\Entity\Customer {#993}
      -association: Symfony\Component\VarDumper\Caster\CutStub {#4075 …}
      -backRefFieldName: "customer"
      -isDirty: false
      -em: Container6xBjgVf\EntityManagerGhost614a58f {#250 …12}
      -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#4113 …}
    }
    -repairs: Doctrine\ORM\PersistentCollection {#1566 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1568 …}
    -invoices: Doctrine\ORM\PersistentCollection {#1677 …}
    -quotes: Doctrine\ORM\PersistentCollection {#1671 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#982 …}
  }
  -vehicle: Proxies\__CG__\App\Entity\Vehicle {#1044
    -id: 3
    -customer: Proxies\__CG__\App\Entity\Customer {#993}
    -brand: "DACIA"
    -model: "LOGAN"
    -year: 2014
    -licensePlate: "20453/A/42"
    -registrationNumber: null
    -vin: null
    -mileage: 150000
    -fuelType: "diesel"
    -color: "TAXI"
    -notes: null
    -createdAt: DateTime @1755777261 {#1758
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1755777261 {#1759
      date: 2025-08-21 11:54:21.0 UTC (+00:00)
    }
    -photos: Doctrine\ORM\PersistentCollection {#1765 …}
    -repairs: Doctrine\ORM\PersistentCollection {#1766 …}
    -appointments: Doctrine\ORM\PersistentCollection {#1763 …}
    -diagnostics: Doctrine\ORM\PersistentCollection {#1776 …}
    -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#1047 …}
  }
  -title: "P"
  -description: null
  -appointmentDate: DateTime @1756080000 {#1016
    date: 2025-08-25 00:00:00.0 UTC (+00:00)
  }
  -appointmentTime: "12:30"
  -duration: 60
  -status: "scheduled"
  -type: "repair"
  -mechanic: null
  -estimatedCost: null
  -notes: null
  -createdAt: DateTime @1756046931 {#1017
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
  -updatedAt: DateTime @1756046931 {#1018
    date: 2025-08-24 14:48:51.0 UTC (+00:00)
  }
}