src/Rocketeer/Binaries/PackageManagers/Bower.php
public function getDependenciesFolder()
    {
        // Look for a configuration file
        $paths = array_filter([
            $this->paths->getBasePath().'.bowerrc',
            $this->paths->getUserHomeFolder().'/.bowerrc',
        ], [$this->files, 'has']);

        $file = head($paths);
        if ($file) {
            $file = $this->files->read($file);
            $file = json_decode($file, true);
        }

        return array_get($file, 'directory', 'bower_components');
    }
public function getDependenciesFolder()
    {
        // Look for a configuration file
        $paths = array_filter([
            $this->paths->getBasePath().'.bowerrc',
            $this->paths->getUserHomeFolder().'/.bowerrc',
        ], [$this->files, 'has']);

        $file = head($paths);
        if ($file) {
            $file = $this->files->read($file);
            $file = json_decode($file, true);
        }

        return array_get($file, 'directory', 'bower_components');
    }
public function getDependenciesFolder ( ) { // Look for a configuration file $ paths = array_filter ( [ $ this -> paths -> getBasePath ( ) . '.bowerrc' , $ this -> paths -> getUserHomeFolder ( ) . '/.bowerrc' , ] , [ $ this -> files , 'has' ] ) ; $ file = head ( $ paths ) ; if ( $ file ) { $ file = $ this -> files -> read ( $ file ) ; $ file = json_decode ( $ file , true ) ; } return array_get ( $ file , 'directory' , 'bower_components' ) ; }
Get where dependencies are installed.

@return string
Get where dependencies are installed .