protected function getDockerComposeFiles()
    {
        $files = [
            'docker-compose.yml',
        ];
        $root = ProjectX::projectRoot();

        // Add docker compose dev configurations.
        $path = "{$root}/docker-compose-dev.yml";
        if ($this->hasDockerSync()
            && $this->useDockerSync && file_exists($path)) {
            $files[] = $path;
        }

        return $files;
    }
protected function getDockerComposeFiles()
    {
        $files = [
            'docker-compose.yml',
        ];
        $root = ProjectX::projectRoot();

        // Add docker compose dev configurations.
        $path = "{$root}/docker-compose-dev.yml";
        if ($this->hasDockerSync()
            && $this->useDockerSync && file_exists($path)) {
            $files[] = $path;
        }

        return $files;
    }
protected function getDockerComposeFiles ( ) { $ files = [ 'docker-compose.yml' , ] ; $ root = ProjectX :: projectRoot ( ) ; // Add docker compose dev configurations. $ path = "{$root}/docker-compose-dev.yml" ; if ( $ this -> hasDockerSync ( ) && $ this -> useDockerSync && file_exists ( $ path ) ) { $ files [ ] = $ path ; } return $ files ; }
Get docker compose files to load.

@return array
An array of docker compose files.
Get docker compose files to load .