public function __construct($name, $bucketsPath = null, $script = null) { parent::__construct($name); if ($bucketsPath !== null) { $this->setBucketsPath($bucketsPath); } if ($script !== null) { $this->setScript($script); } }