public function setRemote($remote = null) { $this->remote = $remote ?: self::defaultRemote; return $this; }