public function setMemoryLimit($memoryLimit = null) { $this->memoryLimit = $memoryLimit; return $this; }