src/main/php/CommandLine/Factories/BlacklistFactory.php
public function findTokenDirectories(string $token) : array
    {
        $tokenFinder = $this->finderFactory->build();
        $tokenFinder->in($this->environment->getRootDirectory())->files()->name($token);
        $rawExcludePathsByToken = $this->finderToRealPathConverter
            ->finderToArrayOfPaths($tokenFinder);
        return array_map('dirname', $rawExcludePathsByToken);
    }
public function findTokenDirectories(string $token) : array
    {
        $tokenFinder = $this->finderFactory->build();
        $tokenFinder->in($this->environment->getRootDirectory())->files()->name($token);
        $rawExcludePathsByToken = $this->finderToRealPathConverter
            ->finderToArrayOfPaths($tokenFinder);
        return array_map('dirname', $rawExcludePathsByToken);
    }
public function findTokenDirectories ( string $ token ) : array { $ tokenFinder = $ this -> finderFactory -> build ( ) ; $ tokenFinder -> in ( $ this -> environment -> getRootDirectory ( ) ) -> files ( ) -> name ( $ token ) ; $ rawExcludePathsByToken = $ this -> finderToRealPathConverter -> finderToArrayOfPaths ( $ tokenFinder ) ; return array_map ( 'dirname' , $ rawExcludePathsByToken ) ; }
Searches for directories containing stopword files.

@param string $token

@return string[]
Searches for directories containing stopword files .