pipicar/modules/main/Applications/Main.php

28 lines
465 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
/*
* Copyright (c) 2023.
*
* Aidyn Sapargaliyev
* ТОО Дизайн лаборатория А7
*
*/
namespace App\Modules\main\Applications;
use A7kz\Base\Application;
/**
* @property $module
* @property $title
* @method getLink()
*/
class Main extends Application
{
/**
* @throws \Exception
*/
public function run($action){
return component('App.Modules.main.Components.Main', ['app'=>$this], $this->module);
}
}