public function OnClearEventArgs::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/OnClearEventArgs.php \Doctrine\Common\Persistence\Event\OnClearEventArgs::__construct()
Constructor.
Parameters
ObjectManager $objectManager The object manager.:
string|null $entityClass The optional entity class.:
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ OnClearEventArgs.php, line 51
Class
- OnClearEventArgs
- Provides event arguments for the onClear event.
Namespace
Doctrine\Common\Persistence\EventCode
public function __construct($objectManager, $entityClass = null) {
$this->objectManager = $objectManager;
$this->entityClass = $entityClass;
}