protected function getDependencies()
    {
        if (null === $this->dependencies) {
            if (file_exists(sprintf('%s/dependencies.json', $this->paths->getThemeConfigDir()))) {
                $depsContent = file_get_contents(sprintf('%s/dependencies.json', $this->paths->getThemeConfigDir()));
            } else {
                $depsContent = file_get_contents(sprintf('%s/dependencies.json', $this->paths->getBaseConfigDir()));
            }
            $this->dependencies = json_decode($depsContent, true);
        }

        return $this->dependencies;
    }
protected function getDependencies()
    {
        if (null === $this->dependencies) {
            if (file_exists(sprintf('%s/dependencies.json', $this->paths->getThemeConfigDir()))) {
                $depsContent = file_get_contents(sprintf('%s/dependencies.json', $this->paths->getThemeConfigDir()));
            } else {
                $depsContent = file_get_contents(sprintf('%s/dependencies.json', $this->paths->getBaseConfigDir()));
            }
            $this->dependencies = json_decode($depsContent, true);
        }

        return $this->dependencies;
    }
protected function getDependencies ( ) { if ( null === $ this -> dependencies ) { if ( file_exists ( sprintf ( '%s/dependencies.json' , $ this -> paths -> getThemeConfigDir ( ) ) ) ) { $ depsContent = file_get_contents ( sprintf ( '%s/dependencies.json' , $ this -> paths -> getThemeConfigDir ( ) ) ) ; } else { $ depsContent = file_get_contents ( sprintf ( '%s/dependencies.json' , $ this -> paths -> getBaseConfigDir ( ) ) ) ; } $ this -> dependencies = json_decode ( $ depsContent , true ) ; } return $ this -> dependencies ; }
Retrieves the dependencies config

@return array
Retrieves the dependencies config