protected function loadFiles(Addon $addon, array $files)
    {
        foreach ($files as $filename) {
            $path = $addon->path($filename);

            if (!file_exists($path)) {
                $message = "Warning: PHP Script '$path' is nothing.";
                info($message);
                echo $message;
                continue;
            }

            require_once $path;
        }
    }
protected function loadFiles(Addon $addon, array $files)
    {
        foreach ($files as $filename) {
            $path = $addon->path($filename);

            if (!file_exists($path)) {
                $message = "Warning: PHP Script '$path' is nothing.";
                info($message);
                echo $message;
                continue;
            }

            require_once $path;
        }
    }
protected function loadFiles ( Addon $ addon , array $ files ) { foreach ( $ files as $ filename ) { $ path = $ addon -> path ( $ filename ) ; if ( ! file_exists ( $ path ) ) { $ message = "Warning: PHP Script '$path' is nothing." ; info ( $ message ) ; echo $ message ; continue ; } require_once $ path ; } }
load addon initial script files.

@param \Jumilla\Addomnipot\Laravel\Addon $addon
@param array $files
load addon initial script files .