GET https://dev.communesmaroc.com/ar/ville/tetouan/add-your-business

Forms

  • registration
    • name
    • mainCategory
    • address1
    • address2
    • cityName
    • zipCode
    • longitude
    • latitude
    • submittedBy
    • contactEmail
    • phoneNumber
    • website
    • openingHours
    • imageFile
    • gallery
    • videoUrl
    • instagram
    • facebook
    • description
    • _token

registration

Form type:
"App\Form\Front\Place\RegistrationType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\Entity\Commune\Place {#6171
  -id: null
  -name: "Le Grand Café de la Poste"
  -description: "Un établissement historique situé au cœur de la ville, offrant une cuisine traditionnelle et une ambiance chaleureuse depuis 1920."
  -text: null
  -address1: null
  -address2: null
  -cityName: null
  -zipCode: null
  -countryName: null
  -phoneNumber: "0524434343"
  -fax: null
  -mobilePhoneNumber: null
  -mobilePhoneNumber1: null
  -mobilePhoneNumber2: null
  -mobilePhoneNumber3: null
  -submittedBy: "EL. abdel"
  -contactEmail: "abdel@example.com"
  -email: null
  -email1: null
  -email2: null
  -email3: null
  -longitude: null
  -latitude: null
  -otherDetails: null
  -webSite: "https://www.cafedelaposte.ma"
  -facebook: "https://facebook.com/cafeposte"
  -twitter: null
  -instagram: "https://instagram.com/cafeposte"
  -pinterest: null
  -videoUrl: null
  -minPrice: 0
  -maxPrice: 0
  -views: 0
  -status: "A"
  -url: null
  -rating: 0
  -openingWeekdayText: null
  -commune: null
  -lang: null
  -mainCategory: App\Entity\Place\Category {#6262
    -id: 24
    -icon: "icon-dinner"
    -flaticon: "flaticon-restaurant"
    -backgroundImage: "tpl/city-listing/custom/images/categories/2.jpg"
    -name: "Food"
    -verb: "Eat"
    -code: "food"
    -status: "A"
    -totalPlace: 515
    -parent: null
    -translations: Doctrine\ORM\PersistentCollection {#6300 …}
    +errors: [
      "error" => false
      "message" => null
    ]
    -createdAt: DateTime @1535537050 {#6246
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1535642928 {#6249
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    -createdAtGmt: DateTime @1535537050 {#6247
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAtGmt: DateTime @1535642928 {#6260
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    +xlations: null
  }
  -photo: null
  -uniqueIdentifier: null
  -provider: null
  -translations: Doctrine\Common\Collections\ArrayCollection {#6195 …}
  -reviews: Doctrine\Common\Collections\ArrayCollection {#6170 …}
  -tags: Doctrine\Common\Collections\ArrayCollection {#6169 …}
  -categories: Doctrine\Common\Collections\ArrayCollection {#6192 …}
  -amenities: Doctrine\Common\Collections\ArrayCollection {#6191 …}
  -currency: null
  -images: Doctrine\Common\Collections\ArrayCollection {#6196 …}
  -photos: Doctrine\Common\Collections\ArrayCollection {#6193 …}
  -openingHours: Doctrine\Common\Collections\ArrayCollection {#6194 …}
  -migratedSpot: null
  +errors: [
    "error" => false
    "message" => null
  ]
  -createdAt: null
  -updatedAt: null
  -createdAtGmt: null
  -updatedAtGmt: null
  +xlations: null
  -imageFile: null
  -imageName: null
  -imageSize: null
  +vimages: [
    "1300x570" => null
    "1175x515" => null
    "800x420" => null
    "710x414" => null
    "420x320" => null
    "250x250" => null
    "160x160" => null
    "70x70" => null
    "is_default" => false
    "default" => null
  ]
  -cachedImageUrl: null
  -totalReviews: 0
  -uuid4: null
  -slug: null
  -wishlisted: false
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
data
App\Entity\Commune\Place {#6171
  -id: null
  -name: "Le Grand Café de la Poste"
  -description: "Un établissement historique situé au cœur de la ville, offrant une cuisine traditionnelle et une ambiance chaleureuse depuis 1920."
  -text: null
  -address1: null
  -address2: null
  -cityName: null
  -zipCode: null
  -countryName: null
  -phoneNumber: "0524434343"
  -fax: null
  -mobilePhoneNumber: null
  -mobilePhoneNumber1: null
  -mobilePhoneNumber2: null
  -mobilePhoneNumber3: null
  -submittedBy: "EL. abdel"
  -contactEmail: "abdel@example.com"
  -email: null
  -email1: null
  -email2: null
  -email3: null
  -longitude: null
  -latitude: null
  -otherDetails: null
  -webSite: "https://www.cafedelaposte.ma"
  -facebook: "https://facebook.com/cafeposte"
  -twitter: null
  -instagram: "https://instagram.com/cafeposte"
  -pinterest: null
  -videoUrl: null
  -minPrice: 0
  -maxPrice: 0
  -views: 0
  -status: "A"
  -url: null
  -rating: 0
  -openingWeekdayText: null
  -commune: null
  -lang: null
  -mainCategory: App\Entity\Place\Category {#6262
    -id: 24
    -icon: "icon-dinner"
    -flaticon: "flaticon-restaurant"
    -backgroundImage: "tpl/city-listing/custom/images/categories/2.jpg"
    -name: "Food"
    -verb: "Eat"
    -code: "food"
    -status: "A"
    -totalPlace: 515
    -parent: null
    -translations: Doctrine\ORM\PersistentCollection {#6300 …}
    +errors: [
      "error" => false
      "message" => null
    ]
    -createdAt: DateTime @1535537050 {#6246
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1535642928 {#6249
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    -createdAtGmt: DateTime @1535537050 {#6247
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAtGmt: DateTime @1535642928 {#6260
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    +xlations: null
  }
  -photo: null
  -uniqueIdentifier: null
  -provider: null
  -translations: Doctrine\Common\Collections\ArrayCollection {#6195 …}
  -reviews: Doctrine\Common\Collections\ArrayCollection {#6170 …}
  -tags: Doctrine\Common\Collections\ArrayCollection {#6169 …}
  -categories: Doctrine\Common\Collections\ArrayCollection {#6192 …}
  -amenities: Doctrine\Common\Collections\ArrayCollection {#6191 …}
  -currency: null
  -images: Doctrine\Common\Collections\ArrayCollection {#6196 …}
  -photos: Doctrine\Common\Collections\ArrayCollection {#6193 …}
  -openingHours: Doctrine\Common\Collections\ArrayCollection {#6194 …}
  -migratedSpot: null
  +errors: [
    "error" => false
    "message" => null
  ]
  -createdAt: null
  -updatedAt: null
  -createdAtGmt: null
  -updatedAtGmt: null
  +xlations: null
  -imageFile: null
  -imageName: null
  -imageSize: null
  +vimages: [
    "1300x570" => null
    "1175x515" => null
    "800x420" => null
    "710x414" => null
    "420x320" => null
    "250x250" => null
    "160x160" => null
    "70x70" => null
    "is_default" => false
    "default" => null
  ]
  -cachedImageUrl: null
  -totalReviews: 0
  -uuid4: null
  -slug: null
  -wishlisted: false
}
same as passed value
locale
"ar"
same as passed value
validation_groups
[
  "Default"
  "step1"
  "step2"
  "step3"
  "step4"
]
[
  "Default"
  "step1"
  "step2"
  "step3"
  "step4"
]

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
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 {#2636
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#2287 …}
  -logger: Monolog\Logger {#2402 …}
  -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#2660 …}
  -tokenIds: [
    "submit" => 0
    "authenticate" => 1
    "logout" => 2
  ]
  -checkHeader: 1
  -cookieName: "csrf-token"
}
data
App\Entity\Commune\Place {#6171
  -id: null
  -name: "Le Grand Café de la Poste"
  -description: "Un établissement historique situé au cœur de la ville, offrant une cuisine traditionnelle et une ambiance chaleureuse depuis 1920."
  -text: null
  -address1: null
  -address2: null
  -cityName: null
  -zipCode: null
  -countryName: null
  -phoneNumber: "0524434343"
  -fax: null
  -mobilePhoneNumber: null
  -mobilePhoneNumber1: null
  -mobilePhoneNumber2: null
  -mobilePhoneNumber3: null
  -submittedBy: "EL. abdel"
  -contactEmail: "abdel@example.com"
  -email: null
  -email1: null
  -email2: null
  -email3: null
  -longitude: null
  -latitude: null
  -otherDetails: null
  -webSite: "https://www.cafedelaposte.ma"
  -facebook: "https://facebook.com/cafeposte"
  -twitter: null
  -instagram: "https://instagram.com/cafeposte"
  -pinterest: null
  -videoUrl: null
  -minPrice: 0
  -maxPrice: 0
  -views: 0
  -status: "A"
  -url: null
  -rating: 0
  -openingWeekdayText: null
  -commune: null
  -lang: null
  -mainCategory: App\Entity\Place\Category {#6262
    -id: 24
    -icon: "icon-dinner"
    -flaticon: "flaticon-restaurant"
    -backgroundImage: "tpl/city-listing/custom/images/categories/2.jpg"
    -name: "Food"
    -verb: "Eat"
    -code: "food"
    -status: "A"
    -totalPlace: 515
    -parent: null
    -translations: Doctrine\ORM\PersistentCollection {#6300 …}
    +errors: [
      "error" => false
      "message" => null
    ]
    -createdAt: DateTime @1535537050 {#6246
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1535642928 {#6249
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    -createdAtGmt: DateTime @1535537050 {#6247
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAtGmt: DateTime @1535642928 {#6260
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    +xlations: null
  }
  -photo: null
  -uniqueIdentifier: null
  -provider: null
  -translations: Doctrine\Common\Collections\ArrayCollection {#6195 …}
  -reviews: Doctrine\Common\Collections\ArrayCollection {#6170 …}
  -tags: Doctrine\Common\Collections\ArrayCollection {#6169 …}
  -categories: Doctrine\Common\Collections\ArrayCollection {#6192 …}
  -amenities: Doctrine\Common\Collections\ArrayCollection {#6191 …}
  -currency: null
  -images: Doctrine\Common\Collections\ArrayCollection {#6196 …}
  -photos: Doctrine\Common\Collections\ArrayCollection {#6193 …}
  -openingHours: Doctrine\Common\Collections\ArrayCollection {#6194 …}
  -migratedSpot: null
  +errors: [
    "error" => false
    "message" => null
  ]
  -createdAt: null
  -updatedAt: null
  -createdAtGmt: null
  -updatedAtGmt: null
  +xlations: null
  -imageFile: null
  -imageName: null
  -imageSize: null
  +vimages: [
    "1300x570" => null
    "1175x515" => null
    "800x420" => null
    "710x414" => null
    "420x320" => null
    "250x250" => null
    "160x160" => null
    "70x70" => null
    "is_default" => false
    "default" => null
  ]
  -cachedImageUrl: null
  -totalReviews: 0
  -uuid4: null
  -slug: null
  -wishlisted: false
}
data_class
"App\Entity\Commune\Place"
disabled
false
documentation
[]
empty_data
Closure(FormInterface $form) {#6387
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "App\Entity\Commune\Place"
  }
}
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
[]
locale
"ar"
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
"form"
trim
true
upload_max_size_message
Closure() {#6393
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#2385 …}
    $message: Closure() {#6392 …}
    $translationDomain: "validators"
  }
}
validation_groups
[
  "Default"
  "step1"
  "step2"
  "step3"
  "step4"
]

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "registration"
  "_registration"
]
cache_key
"_registration_registration"
compound
true
data
App\Entity\Commune\Place {#6171
  -id: null
  -name: "Le Grand Café de la Poste"
  -description: "Un établissement historique situé au cœur de la ville, offrant une cuisine traditionnelle et une ambiance chaleureuse depuis 1920."
  -text: null
  -address1: null
  -address2: null
  -cityName: null
  -zipCode: null
  -countryName: null
  -phoneNumber: "0524434343"
  -fax: null
  -mobilePhoneNumber: null
  -mobilePhoneNumber1: null
  -mobilePhoneNumber2: null
  -mobilePhoneNumber3: null
  -submittedBy: "EL. abdel"
  -contactEmail: "abdel@example.com"
  -email: null
  -email1: null
  -email2: null
  -email3: null
  -longitude: null
  -latitude: null
  -otherDetails: null
  -webSite: "https://www.cafedelaposte.ma"
  -facebook: "https://facebook.com/cafeposte"
  -twitter: null
  -instagram: "https://instagram.com/cafeposte"
  -pinterest: null
  -videoUrl: null
  -minPrice: 0
  -maxPrice: 0
  -views: 0
  -status: "A"
  -url: null
  -rating: 0
  -openingWeekdayText: null
  -commune: null
  -lang: null
  -mainCategory: App\Entity\Place\Category {#6262
    -id: 24
    -icon: "icon-dinner"
    -flaticon: "flaticon-restaurant"
    -backgroundImage: "tpl/city-listing/custom/images/categories/2.jpg"
    -name: "Food"
    -verb: "Eat"
    -code: "food"
    -status: "A"
    -totalPlace: 515
    -parent: null
    -translations: Doctrine\ORM\PersistentCollection {#6300 …}
    +errors: [
      "error" => false
      "message" => null
    ]
    -createdAt: DateTime @1535537050 {#6246
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1535642928 {#6249
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    -createdAtGmt: DateTime @1535537050 {#6247
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAtGmt: DateTime @1535642928 {#6260
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    +xlations: null
  }
  -photo: null
  -uniqueIdentifier: null
  -provider: null
  -translations: Doctrine\Common\Collections\ArrayCollection {#6195 …}
  -reviews: Doctrine\Common\Collections\ArrayCollection {#6170 …}
  -tags: Doctrine\Common\Collections\ArrayCollection {#6169 …}
  -categories: Doctrine\Common\Collections\ArrayCollection {#6192 …}
  -amenities: Doctrine\Common\Collections\ArrayCollection {#6191 …}
  -currency: null
  -images: Doctrine\Common\Collections\ArrayCollection {#6196 …}
  -photos: Doctrine\Common\Collections\ArrayCollection {#6193 …}
  -openingHours: Doctrine\Common\Collections\ArrayCollection {#6194 …}
  -migratedSpot: null
  +errors: [
    "error" => false
    "message" => null
  ]
  -createdAt: null
  -updatedAt: null
  -createdAtGmt: null
  -updatedAtGmt: null
  +xlations: null
  -imageFile: null
  -imageName: null
  -imageSize: null
  +vimages: [
    "1300x570" => null
    "1175x515" => null
    "800x420" => null
    "710x414" => null
    "420x320" => null
    "250x250" => null
    "160x160" => null
    "70x70" => null
    "is_default" => false
    "default" => null
  ]
  -cachedImageUrl: null
  -totalReviews: 0
  -uuid4: null
  -slug: null
  -wishlisted: false
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#6661
  -errors: []
  -form: Symfony\Component\Form\Form {#6840 …}
}
form
Symfony\Component\Form\FormView {#6394 …5}
full_name
"registration"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"registration"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
true
name
"registration"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
"form"
unique_block_prefix
"_registration"
valid
true
value
App\Entity\Commune\Place {#6171
  -id: null
  -name: "Le Grand Café de la Poste"
  -description: "Un établissement historique situé au cœur de la ville, offrant une cuisine traditionnelle et une ambiance chaleureuse depuis 1920."
  -text: null
  -address1: null
  -address2: null
  -cityName: null
  -zipCode: null
  -countryName: null
  -phoneNumber: "0524434343"
  -fax: null
  -mobilePhoneNumber: null
  -mobilePhoneNumber1: null
  -mobilePhoneNumber2: null
  -mobilePhoneNumber3: null
  -submittedBy: "EL. abdel"
  -contactEmail: "abdel@example.com"
  -email: null
  -email1: null
  -email2: null
  -email3: null
  -longitude: null
  -latitude: null
  -otherDetails: null
  -webSite: "https://www.cafedelaposte.ma"
  -facebook: "https://facebook.com/cafeposte"
  -twitter: null
  -instagram: "https://instagram.com/cafeposte"
  -pinterest: null
  -videoUrl: null
  -minPrice: 0
  -maxPrice: 0
  -views: 0
  -status: "A"
  -url: null
  -rating: 0
  -openingWeekdayText: null
  -commune: null
  -lang: null
  -mainCategory: App\Entity\Place\Category {#6262
    -id: 24
    -icon: "icon-dinner"
    -flaticon: "flaticon-restaurant"
    -backgroundImage: "tpl/city-listing/custom/images/categories/2.jpg"
    -name: "Food"
    -verb: "Eat"
    -code: "food"
    -status: "A"
    -totalPlace: 515
    -parent: null
    -translations: Doctrine\ORM\PersistentCollection {#6300 …}
    +errors: [
      "error" => false
      "message" => null
    ]
    -createdAt: DateTime @1535537050 {#6246
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAt: DateTime @1535642928 {#6249
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    -createdAtGmt: DateTime @1535537050 {#6247
      date: 2018-08-29 10:04:10.0 UTC (+00:00)
    }
    -updatedAtGmt: DateTime @1535642928 {#6260
      date: 2018-08-30 15:28:48.0 UTC (+00:00)
    }
    +xlations: null
  }
  -photo: null
  -uniqueIdentifier: null
  -provider: null
  -translations: Doctrine\Common\Collections\ArrayCollection {#6195 …}
  -reviews: Doctrine\Common\Collections\ArrayCollection {#6170 …}
  -tags: Doctrine\Common\Collections\ArrayCollection {#6169 …}
  -categories: Doctrine\Common\Collections\ArrayCollection {#6192 …}
  -amenities: Doctrine\Common\Collections\ArrayCollection {#6191 …}
  -currency: null
  -images: Doctrine\Common\Collections\ArrayCollection {#6196 …}
  -photos: Doctrine\Common\Collections\ArrayCollection {#6193 …}
  -openingHours: Doctrine\Common\Collections\ArrayCollection {#6194 …}
  -migratedSpot: null
  +errors: [
    "error" => false
    "message" => null
  ]
  -createdAt: null
  -updatedAt: null
  -createdAtGmt: null
  -updatedAtGmt: null
  +xlations: null
  -imageFile: null
  -imageName: null
  -imageSize: null
  +vimages: [
    "1300x570" => null
    "1175x515" => null
    "800x420" => null
    "710x414" => null
    "420x320" => null
    "250x250" => null
    "160x160" => null
    "70x70" => null
    "is_default" => false
    "default" => null
  ]
  -cachedImageUrl: null
  -totalReviews: 0
  -uuid4: null
  -slug: null
  -wishlisted: false
}