. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ namespace Espo\Core\Utils\Client; use Espo\Core\Utils\Theme\Direction; readonly class RenderParams { /** * @param ?string $runScript A JS run-script. * @param Script[] $scripts Scripts to include on the page. * @param ?string $pageTitle A page title. Since 9.1.0. * @param ?string $theme A page theme name. * @param ?Direction $direction A document direction. * @param bool $useRouter Use the frontend router. As of v10.1.0. */ public function __construct( public ?string $runScript = null, public array $scripts = [], public ?string $pageTitle = null, public ?string $theme = null, public ?Direction $direction = null, public bool $useRouter = true, ) {} }