public function installDependencies(InstallerInterface $installer)
    {
        $decode = $this->config->getBowerFileContent();
        if (!empty($decode['dependencies'])) {
            foreach ($decode['dependencies'] as $name => $requiredVersion) {
                if (false !== strpos($requiredVersion, 'github')) {
                    list($name, $requiredVersion) = explode('#', $requiredVersion);
                }
                $package = new Package($name, $requiredVersion);
                $this->installPackage($package, $installer, true);
            }
        }
    }
public function installDependencies(InstallerInterface $installer)
    {
        $decode = $this->config->getBowerFileContent();
        if (!empty($decode['dependencies'])) {
            foreach ($decode['dependencies'] as $name => $requiredVersion) {
                if (false !== strpos($requiredVersion, 'github')) {
                    list($name, $requiredVersion) = explode('#', $requiredVersion);
                }
                $package = new Package($name, $requiredVersion);
                $this->installPackage($package, $installer, true);
            }
        }
    }
public function installDependencies ( InstallerInterface $ installer ) { $ decode = $ this -> config -> getBowerFileContent ( ) ; if ( ! empty ( $ decode [ 'dependencies' ] ) ) { foreach ( $ decode [ 'dependencies' ] as $ name => $ requiredVersion ) { if ( false !== strpos ( $ requiredVersion , 'github' ) ) { list ( $ name , $ requiredVersion ) = explode ( '#' , $ requiredVersion ) ; } $ package = new Package ( $ name , $ requiredVersion ) ; $ this -> installPackage ( $ package , $ installer , true ) ; } } }
Install all dependencies

@param InstallerInterface $installer
Install all dependencies