Back to LibraryAdapter class

Method copyBaseFiles

protected void
copyBaseFiles
()
Method to copy the extension's base files from the `<files>` tag(s) and the manifest file
Returns
  • void
Since
  • 3.4
-
  • \RuntimeException

Method copyBaseFiles - Source code

/**
 * Method to copy the extension's base files from the `<files>` tag(s) and the manifest file
 *
 * @return  void
 *
 * @since   3.4
 * @throws  \RuntimeException
 */
protected function copyBaseFiles()
{
    if ($this->parent->parseFiles($this->getManifest()->files, -1) === false) {
        throw new \RuntimeException(Text::sprintf('JLIB_INSTALLER_ABORT_LIB_COPY_FILES', $this->element));
    }
}