src/Config.php
protected function getPotentialDirectories($workingDir)
  {
    $paths = array();
    $path = '';
    foreach (explode('/', $workingDir) as $part) {
      $path .= $part . '/';
      $paths[] = rtrim($path, '/');
    }
    return $paths;
  }
protected function getPotentialDirectories($workingDir)
  {
    $paths = array();
    $path = '';
    foreach (explode('/', $workingDir) as $part) {
      $path .= $part . '/';
      $paths[] = rtrim($path, '/');
    }
    return $paths;
  }
protected function getPotentialDirectories ( $ workingDir ) { $ paths = array ( ) ; $ path = '' ; foreach ( explode ( '/' , $ workingDir ) as $ part ) { $ path .= $ part . '/' ; $ paths [ ] = rtrim ( $ path , '/' ) ; } return $ paths ; }
Helper to provide potential directories to look for .buddy.yml files.

@return array
List of directory paths.
Helper to provide potential directories to look for . buddy . yml files .