Category : symfony-4.3

i was createing a new databse for my project and this problem appeared to me php bin/console doctrine:database:create In AbstractPostgreSQLDriver.php line 79: An exception occurred in driver: could not find driver In PDOConnection.php line 31: could not find driver In PDOConnection.php line 27: could not find driver doctrine:database:create [-s|–shard SHARD] [-c|–connection [CONNECTION]] [–if-not-exists] [-h|–help] [-q|–quiet] ..

Read more

I have two entities for example: class Dog { /** * @var House * * @ORMManyToOne(targetEntity=”House”) * @ORMJoinColumns({ * @ORMJoinColumn(name=”house_id”, referencedColumnName=”id”) * }) */ private $house; } class House { /** * @var ArrayCollection|null * @ORMManyToMany(targetEntity=”Dog”,cascade={“persist”}) * @ORMJoinColumns({ * @ORMJoinColumn(name=”dog_id”, referencedColumnName=”id”, nullable=true) * }) */ protected $dog; } I need to throw an event if ..

Read more