public function isPackageFrozen($packageKey)
    {
        if (!isset($this->packages[$packageKey])) {
            return false;
        }
        $composerName = $this->packages[$packageKey]->getComposerName();

        return (
            $this->bootstrap->getContext()->isDevelopment()
            && isset($this->packageStatesConfiguration['packages'][$composerName]['frozen'])
            && $this->packageStatesConfiguration['packages'][$composerName]['frozen'] === true
        );
    }
public function isPackageFrozen($packageKey)
    {
        if (!isset($this->packages[$packageKey])) {
            return false;
        }
        $composerName = $this->packages[$packageKey]->getComposerName();

        return (
            $this->bootstrap->getContext()->isDevelopment()
            && isset($this->packageStatesConfiguration['packages'][$composerName]['frozen'])
            && $this->packageStatesConfiguration['packages'][$composerName]['frozen'] === true
        );
    }
public function isPackageFrozen ( $ packageKey ) { if ( ! isset ( $ this -> packages [ $ packageKey ] ) ) { return false ; } $ composerName = $ this -> packages [ $ packageKey ] -> getComposerName ( ) ; return ( $ this -> bootstrap -> getContext ( ) -> isDevelopment ( ) && isset ( $ this -> packageStatesConfiguration [ 'packages' ] [ $ composerName ] [ 'frozen' ] ) && $ this -> packageStatesConfiguration [ 'packages' ] [ $ composerName ] [ 'frozen' ] === true ) ; }
Tells if a package is frozen

@param string $packageKey The package to check
@return boolean
Tells if a package is frozen