__construct() публичный Метод

Construct new purger instance.
public __construct ( Doctrine\ORM\EntityManagerInterface $em = null, array $excluded = [] )
$em Doctrine\ORM\EntityManagerInterface EntityManagerInterface instance used for persistence.
$excluded array array of table/view names to be excleded from purge
Пример #1
0
 public function __construct(EntityManager $em = null)
 {
     // jesus immer diese scheisse mit dem private
     $this->em = $em;
     parent::__construct($em);
 }