Neos\Flow\ResourceManagement\Target\TargetInterface::publishCollection PHP Method

publishCollection() public method

Publishes the whole collection to this target
public publishCollection ( Neos\Flow\ResourceManagement\CollectionInterface $collection ) : void
$collection Neos\Flow\ResourceManagement\CollectionInterface The collection to publish
return void
    public function publishCollection(CollectionInterface $collection);

Usage Example

 /**
  * Publishes the whole collection to the corresponding publishing target
  *
  * @return void
  */
 public function publish()
 {
     $this->target->publishCollection($this);
 }