entity = $entity; $this->name = $name; $this->iterations = $iterations; $this->process = $process; } /** * {@inheritdoc} */ public function getName() { return $this->name; } /** * {@inheritdoc} */ public function getIterations() { return $this->iterations; } /** * {@inheritdoc} */ public function createProcess() { return clone $this->process; } /** * @return TaskEntity */ public function getEntity() { return $this->entity; } }