protected function loadScripts(...$scripts)
    {
        $files = $this->getFilePayload($scripts ?? null);

        if (empty($files)) {
            return;
        }

        foreach ($files as $script) {
            $this->loadScript($script);
        }
    }
protected function loadScripts(...$scripts)
    {
        $files = $this->getFilePayload($scripts ?? null);

        if (empty($files)) {
            return;
        }

        foreach ($files as $script) {
            $this->loadScript($script);
        }
    }
protected function loadScripts ( ... $ scripts ) { $ files = $ this -> getFilePayload ( $ scripts ?? null ) ; if ( empty ( $ files ) ) { return ; } foreach ( $ files as $ script ) { $ this -> loadScript ( $ script ) ; } }
Add multiple scripts

@param array $scripts
@throws \Laranix\Support\Exception\InvalidInstanceException
@throws \Laranix\Support\Exception\InvalidTypeException
Add multiple scripts