public function postDelete(PHP5ObjectBuilder $builder)
 {
     $this->builder = $builder;
     if (!$builder->getPlatform()->supportsNativeDeleteTrigger() && !$builder->getBuildProperty('emulateForeignKeyConstraints')) {
         $script = "// emulate delete cascade\n{$this->getVersionQueryClassName()}::create()\n    ->filterBy{$this->table->getPhpName()}(\$this)\n    ->delete(\$con);";
         return $script;
     }
 }