src/Nabu/Autoloader.php
private function packageRegistered($package)
    {
        $package_registered = array_key_exists($package, $this->packages);

        if ($package_registered) {
            $this->updateLog("info", "Package {$package} is registered");
        } else {
            $this->updateLog("info", "Package {$package} is not registered");
        }

        return $package_registered;
    }
private function packageRegistered($package)
    {
        $package_registered = array_key_exists($package, $this->packages);

        if ($package_registered) {
            $this->updateLog("info", "Package {$package} is registered");
        } else {
            $this->updateLog("info", "Package {$package} is not registered");
        }

        return $package_registered;
    }
private function packageRegistered ( $ package ) { $ package_registered = array_key_exists ( $ package , $ this -> packages ) ; if ( $ package_registered ) { $ this -> updateLog ( "info" , "Package {$package} is registered" ) ; } else { $ this -> updateLog ( "info" , "Package {$package} is not registered" ) ; } return $ package_registered ; }
Determines whether a given package is registered with the Autoloader

@param string $package   The package to check

@return bool             Returns true if the given package is registered
Returns false if the given package is not registered
Determines whether a given package is registered with the Autoloader