public function __construct($entityType, $params = array()) { $this->entityType = $entityType; $this->params = $params; parent::__construct(0); }