public function findSources(string $sources): array
  {
    $patterns = $this->sourcesToPatterns($sources);

    $sources = [];
    foreach ($patterns as $pattern)
    {
      $tmp     = $this->findSourcesInPattern($pattern);
      $sources = array_merge($sources, $tmp);
    }

    $sources = array_unique($sources);
    sort($sources);

    return $sources;
  }
public function findSources(string $sources): array
  {
    $patterns = $this->sourcesToPatterns($sources);

    $sources = [];
    foreach ($patterns as $pattern)
    {
      $tmp     = $this->findSourcesInPattern($pattern);
      $sources = array_merge($sources, $tmp);
    }

    $sources = array_unique($sources);
    sort($sources);

    return $sources;
  }
public function findSources ( string $ sources ) : array { $ patterns = $ this -> sourcesToPatterns ( $ sources ) ; $ sources = [ ] ; foreach ( $ patterns as $ pattern ) { $ tmp = $ this -> findSourcesInPattern ( $ pattern ) ; $ sources = array_merge ( $ sources , $ tmp ) ; } $ sources = array_unique ( $ sources ) ; sort ( $ sources ) ; return $ sources ; }
Finds sources of stored routines.

@param string $sources The value of the sources parameter.

@return string[]
Finds sources of stored routines .