src/PackageManager.php
public function hasDependencies()
    {
        foreach ($this->dependencies as $key) {
            if (isset($this->config[$key]) && $this->config[$key]) {
                return true;
            }
        }

        return false;
    }
public function hasDependencies()
    {
        foreach ($this->dependencies as $key) {
            if (isset($this->config[$key]) && $this->config[$key]) {
                return true;
            }
        }

        return false;
    }
public function hasDependencies ( ) { foreach ( $ this -> dependencies as $ key ) { if ( isset ( $ this -> config [ $ key ] ) && $ this -> config [ $ key ] ) { return true ; } } return false ; }
Returns if the package manager has nonempty dependency list.
@return bool
Returns if the package manager has nonempty dependency list .