private function findComposerDirectory($vendor, $file = '')
    {
        $composerDirectory = $this->normalizePath($vendor . '/composer/' . $file);

        if ($this->files->exists($composerDirectory)) {
            return $composerDirectory;
        }

        return false;
    }
private function findComposerDirectory($vendor, $file = '')
    {
        $composerDirectory = $this->normalizePath($vendor . '/composer/' . $file);

        if ($this->files->exists($composerDirectory)) {
            return $composerDirectory;
        }

        return false;
    }
private function findComposerDirectory ( $ vendor , $ file = '' ) { $ composerDirectory = $ this -> normalizePath ( $ vendor . '/composer/' . $ file ) ; if ( $ this -> files -> exists ( $ composerDirectory ) ) { return $ composerDirectory ; } return false ; }
Finds the composer directory.

Returns false if the directory does not exist.

@param         $vendor The vendor directory.
@param  string $file   An optional file to look for.
@return bool|string
Finds the composer directory .