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

run() protected méthode

protected run ( array | callable $scripts )
$scripts array | callable
    protected function run($scripts)
    {
        array_map(function ($script) {
            if (is_callable($script)) {
                call_user_func($script, App::getInstance());
            }
        }, (array) $scripts);
    }