You are here

public function Batch::__construct in Akamai 7.3

Constructor.

Parameters

int $max_size: The maximum number of items allowed in the batch.

File

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

Class

Batch

Namespace

Drupal\akamai

Code

public function __construct($max_size = NULL) {
  if (is_int($max_size)) {
    $this->maxSize = $max_size;
  }
}