public function __construct($name)
{
$this->setName($name);
}
/** * @param string $name * @param string|null $bucketsPath */ public function __construct($name, $bucketsPath = null) { parent::__construct($name); if ($bucketsPath !== null) { $this->setBucketsPath($bucketsPath); } }