Khandaker Toihidul Islam
Front-end Developer
React Js | Javascript | HTML | CSS | Bootstrap | Wordpress | PHP | Mysql

List for relational Entity in Symfony 4

For example,
I am going to create an organization belongs to a user. But I want to list like
key = id , value = email (instead of fullName) .
We need to change entity/user.php

     public function __toString() {
        return $this->email.' - '.$this->fullName;

You may also like...

Leave a Reply