->add('access_comp_bank', EntityType::class,[
'class'=>AccessCompBank::class,
'choice_label'=>'access_comp_bank',
'query_builder'=>function(EntityRepository $er) use ($idcompany){
return $er->createQueryBuilder('acb')
;
},
'label'=>false
])
FormView {#1984 ▼
+vars: array:29 [▼
"value" => ArrayCollection {#1860 ▼
-elements: []
}
"attr" => []
"form" => FormView {#1984}
"id" => "company_curators"
"name" => "curators"
"full_name" => "company[curators]"
"disabled" => false
"label" => false
"label_format" => null
"multipart" => false
"block_prefixes" => array:3 [▼
0 => "form"
1 => "collection"
2 => "_company_curators"
]
"unique_block_prefix" => "_company_curators"
"translation_domain" => null
"cache_key" => "_company_curators_collection"
"errors" => FormErrorIterator {#1985 ▼
-form: Form {#1775 ▶}
-errors: []
}
"valid" => true
"data" => ArrayCollection {#1860 ▶}
"required" => true
"size" => null
"label_attr" => []
"help" => null
"help_attr" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
"allow_add" => true
"allow_delete" => true
"prototype" => FormView {#2029 ▼
+vars: array:26 [▼
"value" => null
"attr" => []
"form" => FormView {#2029}
"id" => "company_curators___name__"
"name" => "__name__"
"full_name" => "company[curators][__name__]"
"disabled" => false
"label" => "__name__label__"
"label_format" => null
"multipart" => false
"block_prefixes" => array:3 [▶]
"unique_block_prefix" => "_company_curators_entry"
"translation_domain" => null
"cache_key" => "_company_curators_entry_curator"
"errors" => FormErrorIterator {#2028 ▶}
"valid" => true
"data" => null
"required" => true
"size" => null
"label_attr" => []
"help" => null
"help_attr" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
]
+parent: FormView {#1984}
+children: array:6 [▼
"curator_name" => FormView {#2032 ▶}
"email" => FormView {#2035 ▶}
"phone" => FormView {#2037 ▶}
"is_active" => FormView {#2039 ▶}
"is_delete" => FormView {#2041 ▶}
"md_upd_date" => FormView {#2043 ▶}
]
-rendered: false
-methodRendered: false
}
]
+parent: FormView {#658 ▼
+vars: array:26 [▶]
+parent: null
+children: array:38 [▶]
-rendered: false
-methodRendered: true
}
+children: []
-rendered: false
-methodRendered: false
}
а через soap он мне вообще ничего не выводит.
Помоги пожалуйста чем сможешь.