You are here

public function Batch::getPaths in Akamai 7.3

Returns the paths of all items in the batch.

File

src/Batch.php, line 86
Contains the \Drupal\akamai\Batch class.

Class

Batch

Namespace

Drupal\akamai

Code

public function getPaths() {
  $paths = [];
  foreach ($this->items as $item) {
    foreach ($item->data['paths'] as $path) {
      $paths[] = $path;
    }
  }
  return $paths;
}