POST https://futurtech.fr/articles/new

Forms

  • 1
    articles
    • title
    • catchPhrase
    • date
    • author
    • description
    • 1
      posterFile
    • relatedSubjects
    • chapo
    • legendMainPicture
    • authorWebsite
    • relatedCourse
    • category
    • Modifier
    • _token

articles

Form type:
"App\Form\ArticlesType"

Errors

Errors

Message Origin Cause
Le jeton CSRF est invalide. Veuillez renvoyer le formulaire. Unknown. Caused by:
Symfony\Component\Security\Csrf\CsrfToken {#916
  -id: "articles"
  -value: "f.4A5CWLaZxu5gTmj3qc-Gvm5QB7mzQMQQWI0gDQvnwjc.0ksgPeL1nokMPSqf7byr1TE4Us_sOZtkHL9wakmghE2CXjpp1bSZmFkbAw"
}

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\Entity\Articles {#590
  -id: null
  -title: "Mr."
  -catchPhrase: "1"
  -date: DateTime @1550185200 {#1142
    date: 2019-02-15 00:00:00.0 Europe/Paris (+01:00)
  }
  -author: "1"
  -description: "1"
  -picture: null
  -posterFile: Symfony\Component\HttpFoundation\File\UploadedFile {#61
    -test: false
    -originalName: "file.txt"
    -mimeType: "text/plain"
    -error: 0
    path: "/tmp"
    filename: "phpF4YimU"
    basename: "phpF4YimU"
    pathname: "/tmp/phpF4YimU"
    extension: ""
    realPath: "/tmp/phpF4YimU"
    aTime: 2024-08-12 02:11:41
    mTime: 2024-08-12 02:11:41
    cTime: 2024-08-12 02:11:41
    inode: 9715522
    size: 0
    perms: 0100600
    owner: 161689
    group: 100
    type: "file"
    writable: true
    readable: true
    executable: false
    file: true
    dir: false
    link: false
  }
  -relatedSubjects: []
  -chapo: "1"
  -legendMainPicture: "1"
  -authorWebsite: "http://www.example.com"
  -relatedCourse: 1
  -category: App\Entity\Category {#1366
    -id: 1
    -name: "Programmation"
    -description: "C'est une catégorie lié à la programmation"
    -articles: Doctrine\ORM\PersistentCollection {#1365 …}
  }
  -comments: Doctrine\Common\Collections\ArrayCollection {#559 …}
}
View Format same as normalized format

Submitted Data

Property Value
View Format same as normalized format
Normalized Format
App\Entity\Articles {#590
  -id: null
  -title: "Mr."
  -catchPhrase: "1"
  -date: DateTime @1550185200 {#1142
    date: 2019-02-15 00:00:00.0 Europe/Paris (+01:00)
  }
  -author: "1"
  -description: "1"
  -picture: null
  -posterFile: Symfony\Component\HttpFoundation\File\UploadedFile {#61
    -test: false
    -originalName: "file.txt"
    -mimeType: "text/plain"
    -error: 0
    path: "/tmp"
    filename: "phpF4YimU"
    basename: "phpF4YimU"
    pathname: "/tmp/phpF4YimU"
    extension: ""
    realPath: "/tmp/phpF4YimU"
    aTime: 2024-08-12 02:11:41
    mTime: 2024-08-12 02:11:41
    cTime: 2024-08-12 02:11:41
    inode: 9715522
    size: 0
    perms: 0100600
    owner: 161689
    group: 100
    type: "file"
    writable: true
    readable: true
    executable: false
    file: true
    dir: false
    link: false
  }
  -relatedSubjects: []
  -chapo: "1"
  -legendMainPicture: "1"
  -authorWebsite: "http://www.example.com"
  -relatedCourse: 1
  -category: App\Entity\Category {#1366
    -id: 1
    -name: "Programmation"
    -description: "C'est une catégorie lié à la programmation"
    -articles: Doctrine\ORM\PersistentCollection {#1365 …}
  }
  -comments: Doctrine\Common\Collections\ArrayCollection {#559 …}
}
Model Format same as normalized format

Passed Options

Option Passed Value Resolved Value
data
App\Entity\Articles {#590
  -id: null
  -title: "Mr."
  -catchPhrase: "1"
  -date: DateTime @1550185200 {#1142
    date: 2019-02-15 00:00:00.0 Europe/Paris (+01:00)
  }
  -author: "1"
  -description: "1"
  -picture: null
  -posterFile: Symfony\Component\HttpFoundation\File\UploadedFile {#61
    -test: false
    -originalName: "file.txt"
    -mimeType: "text/plain"
    -error: 0
    path: "/tmp"
    filename: "phpF4YimU"
    basename: "phpF4YimU"
    pathname: "/tmp/phpF4YimU"
    extension: ""
    realPath: "/tmp/phpF4YimU"
    aTime: 2024-08-12 02:11:41
    mTime: 2024-08-12 02:11:41
    cTime: 2024-08-12 02:11:41
    inode: 9715522
    size: 0
    perms: 0100600
    owner: 161689
    group: 100
    type: "file"
    writable: true
    readable: true
    executable: false
    file: true
    dir: false
    link: false
  }
  -relatedSubjects: []
  -chapo: "1"
  -legendMainPicture: "1"
  -authorWebsite: "http://www.example.com"
  -relatedCourse: 1
  -category: App\Entity\Category {#1366
    -id: 1
    -name: "Programmation"
    -description: "C'est une catégorie lié à la programmation"
    -articles: Doctrine\ORM\PersistentCollection {#1365 …}
  }
  -comments: Doctrine\Common\Collections\ArrayCollection {#559 …}
}
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
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 {#249
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#206 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#248 …}
  -namespace: Closure() {#251 …}
}
data
App\Entity\Articles {#590
  -id: null
  -title: "Mr."
  -catchPhrase: "1"
  -date: DateTime @1550185200 {#1142
    date: 2019-02-15 00:00:00.0 Europe/Paris (+01:00)
  }
  -author: "1"
  -description: "1"
  -picture: null
  -posterFile: Symfony\Component\HttpFoundation\File\UploadedFile {#61
    -test: false
    -originalName: "file.txt"
    -mimeType: "text/plain"
    -error: 0
    path: "/tmp"
    filename: "phpF4YimU"
    basename: "phpF4YimU"
    pathname: "/tmp/phpF4YimU"
    extension: ""
    realPath: "/tmp/phpF4YimU"
    aTime: 2024-08-12 02:11:41
    mTime: 2024-08-12 02:11:41
    cTime: 2024-08-12 02:11:41
    inode: 9715522
    size: 0
    perms: 0100600
    owner: 161689
    group: 100
    type: "file"
    writable: true
    readable: true
    executable: false
    file: true
    dir: false
    link: false
  }
  -relatedSubjects: []
  -chapo: "1"
  -legendMainPicture: "1"
  -authorWebsite: "http://www.example.com"
  -relatedCourse: 1
  -category: App\Entity\Category {#1366
    -id: 1
    -name: "Programmation"
    -description: "C'est une catégorie lié à la programmation"
    -articles: Doctrine\ORM\PersistentCollection {#1365 …}
  }
  -comments: Doctrine\Common\Collections\ArrayCollection {#559 …}
}
data_class
"App\Entity\Articles"
disabled
false
empty_data
Closure(FormInterface $form) {#810
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  this: Symfony\Component\Form\Extension\Core\Type\FormType {#566 …}
  use: {
    $class: "App\Entity\Articles"
  }
}
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() {#808
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  this: Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension {#773 …}
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#562 …}
    $translationDomain: "validators"
    $message: Closure() {#809 …}
  }
}
validation_groups
null

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "articles"
  "_articles"
]
cache_key
"_articles_articles"
compound
true
data
App\Entity\Articles {#590
  -id: null
  -title: "Mr."
  -catchPhrase: "1"
  -date: DateTime @1550185200 {#1142
    date: 2019-02-15 00:00:00.0 Europe/Paris (+01:00)
  }
  -author: "1"
  -description: "1"
  -picture: null
  -posterFile: Symfony\Component\HttpFoundation\File\UploadedFile {#61
    -test: false
    -originalName: "file.txt"
    -mimeType: "text/plain"
    -error: 0
    path: "/tmp"
    filename: "phpF4YimU"
    basename: "phpF4YimU"
    pathname: "/tmp/phpF4YimU"
    extension: ""
    realPath: "/tmp/phpF4YimU"
    aTime: 2024-08-12 02:11:41
    mTime: 2024-08-12 02:11:41
    cTime: 2024-08-12 02:11:41
    inode: 9715522
    size: 0
    perms: 0100600
    owner: 161689
    group: 100
    type: "file"
    writable: true
    readable: true
    executable: false
    file: true
    dir: false
    link: false
  }
  -relatedSubjects: []
  -chapo: "1"
  -legendMainPicture: "1"
  -authorWebsite: "http://www.example.com"
  -relatedCourse: 1
  -category: App\Entity\Category {#1366
    -id: 1
    -name: "Programmation"
    -description: "C'est une catégorie lié à la programmation"
    -articles: Doctrine\ORM\PersistentCollection {#1365 …}
  }
  -comments: Doctrine\Common\Collections\ArrayCollection {#559 …}
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#1343
  -form: Symfony\Component\Form\Form {#1443 …}
  -errors: [
    Symfony\Component\Form\FormError {#1394
      #messageTemplate: "Le jeton CSRF est invalide. Veuillez renvoyer le formulaire."
      #messageParameters: []
      #messagePluralization: null
      -message: "Le jeton CSRF est invalide. Veuillez renvoyer le formulaire."
      -cause: Symfony\Component\Security\Csrf\CsrfToken {#916
        -id: "articles"
        -value: "f.4A5CWLaZxu5gTmj3qc-Gvm5QB7mzQMQQWI0gDQvnwjc.0ksgPeL1nokMPSqf7byr1TE4Us_sOZtkHL9wakmghE2CXjpp1bSZmFkbAw"
      }
      -origin: Symfony\Component\Form\Form {#1443 …}
    }
  ]
}
form
Symfony\Component\Form\FormView {#1346 …5}
full_name
"articles"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"articles"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
true
name
"articles"
priority
0
required
true
row_attr
[]
submitted
true
translation_domain
null
unique_block_prefix
"_articles"
valid
false
value
App\Entity\Articles {#590
  -id: null
  -title: "Mr."
  -catchPhrase: "1"
  -date: DateTime @1550185200 {#1142
    date: 2019-02-15 00:00:00.0 Europe/Paris (+01:00)
  }
  -author: "1"
  -description: "1"
  -picture: null
  -posterFile: Symfony\Component\HttpFoundation\File\UploadedFile {#61
    -test: false
    -originalName: "file.txt"
    -mimeType: "text/plain"
    -error: 0
    path: "/tmp"
    filename: "phpF4YimU"
    basename: "phpF4YimU"
    pathname: "/tmp/phpF4YimU"
    extension: ""
    realPath: "/tmp/phpF4YimU"
    aTime: 2024-08-12 02:11:41
    mTime: 2024-08-12 02:11:41
    cTime: 2024-08-12 02:11:41
    inode: 9715522
    size: 0
    perms: 0100600
    owner: 161689
    group: 100
    type: "file"
    writable: true
    readable: true
    executable: false
    file: true
    dir: false
    link: false
  }
  -relatedSubjects: []
  -chapo: "1"
  -legendMainPicture: "1"
  -authorWebsite: "http://www.example.com"
  -relatedCourse: 1
  -category: App\Entity\Category {#1366
    -id: 1
    -name: "Programmation"
    -description: "C'est une catégorie lié à la programmation"
    -articles: Doctrine\ORM\PersistentCollection {#1365 …}
  }
  -comments: Doctrine\Common\Collections\ArrayCollection {#559 …}
}