postSql[] = $postSql; return $this; } /* * Add Sql which will be executed **before** the delete statement */ public function addPreSql(string $preSql) { $this->preSql[] = $preSql; return $this; } /** * get the entity name, as recorded in doctrine. */ public function getEntity(): string { return $this->entity; } public function getMetadata() { return $this->metadata; } public function getPersonId(): int { return $this->personId; } /** * @return string[] */ public function getPostSql(): array { return $this->postSql; } /** * @return string[] */ public function getPreSql(): array { return $this->preSql; } public function getSqlStatement() { return $this->sqlStatement; } }