Sortie du snippet Doctrine "Récupérer la liste des champs et des associations d'une entité Doctrine "

Environnement :

  • Strangebuzz Snippet VM : 2.2.2

Sortie du code exécuté :

array(25) {
  [0]=>
  string(2) "id"
  [1]=>
  string(6) "active"
  [2]=>
  string(4) "name"
  [3]=>
  string(4) "slug"
  [4]=>
  string(16) "mainEntityOfPage"
  [5]=>
  string(13) "datePublished"
  [6]=>
  string(12) "dateModified"
  [7]=>
  string(10) "inLanguage"
  [8]=>
  string(7) "keyword"
  [9]=>
  string(8) "headline"
  [10]=>
  string(11) "description"
  [11]=>
  string(6) "author"
  [12]=>
  string(5) "about"
  [13]=>
  string(5) "image"
  [14]=>
  string(12) "timeRequired"
  [15]=>
  string(14) "highlightClass"
  [16]=>
  string(8) "runnable"
  [17]=>
  string(12) "hasUnitTests"
  [18]=>
  string(16) "stackoverflowUrl"
  [19]=>
  string(10) "symfonyUrl"
  [20]=>
  string(7) "evalUrl"
  [21]=>
  string(14) "codeAsTemplate"
  [22]=>
  string(7) "hasDemo"
  [23]=>
  string(9) "createdAt"
  [24]=>
  string(9) "updatedAt"
}
array(5) {
  [0]=>
  string(4) "type"
  [1]=>
  string(15) "previousArticle"
  [2]=>
  string(11) "nextArticle"
  [3]=>
  string(9) "publisher"
  [4]=>
  string(4) "tags"
}