original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Retrieves the dependencies config
  
  @return array
docstring_tokens: Retrieves the dependencies config