Pagekit\Installer\Package\PackageScripts::load PHP Méthode

load() protected méthode

protected load ( ) : array
Résultat array
    protected function load()
    {
        if (!$this->file || !file_exists($this->file)) {
            return [];
        }
        return require $this->file;
    }