public function rebuildDocker()
    {
        $this->_remove($this->getInstallPath() . '/services');
        $this->buildDockerCompose();

        if ($this->hasDockerSync()) {
            $this->buildDockerComposeDev();
        }

        return $this;
    }
public function rebuildDocker()
    {
        $this->_remove($this->getInstallPath() . '/services');
        $this->buildDockerCompose();

        if ($this->hasDockerSync()) {
            $this->buildDockerComposeDev();
        }

        return $this;
    }
public function rebuildDocker ( ) { $ this -> _remove ( $ this -> getInstallPath ( ) . '/services' ) ; $ this -> buildDockerCompose ( ) ; if ( $ this -> hasDockerSync ( ) ) { $ this -> buildDockerComposeDev ( ) ; } return $ this ; }
Rebuild Docker configurations.

The setup process consist of the following:
- Remove docker service directory in project install path.
- Build docker compose file based on docker services.
- If docker-sync is used then rebuild the docker compose dev file.

@return self
Rebuild Docker configurations .