Skip to content

Commit

Permalink
Merge pull request #46 from flownative/on-publish
Browse files Browse the repository at this point in the history
Introduce onPublish() to satisfy Flow 9 interface
  • Loading branch information
robertlemke authored Jan 18, 2024
2 parents 387f101 + 6759fdc commit 6220275
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Classes/GcsTarget.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,16 @@ private function publishCollectionFromDifferentGoogleCloudStorage(CollectionInte
$this->logger->info(sprintf('Published %s new objects to target bucket "%s".', $iteration, $this->bucketName), LogEnvironment::fromMethodName(__METHOD__));
}

/**
* Satisfy the TargetInterface
*
* @param \Closure $callback
* @return void
*/
public function onPublish(\Closure $callback): void
{
}

/**
* Returns the web accessible URI pointing to the given static resource
*
Expand Down

0 comments on commit 6220275

Please sign in to comment.