| 1: | <?php |
| 2: | |
| 3: | namespace LaravelUi5\Core; |
| 4: | |
| 5: | use LaravelUi5\Core\Ui5\Contracts\Ui5AppInterface; |
| 6: | use LaravelUi5\Core\Ui5\Contracts\Ui5ArtifactInterface; |
| 7: | use LaravelUi5\Core\Ui5\Contracts\Ui5LibraryInterface; |
| 8: | use LaravelUi5\Core\Ui5\AbstractUi5Module; |
| 9: | |
| 10: | class ReportModule extends AbstractUi5Module |
| 11: | { |
| 12: | public function hasApp(): bool |
| 13: | { |
| 14: | return true; |
| 15: | } |
| 16: | |
| 17: | public function getApp(): ?Ui5AppInterface |
| 18: | { |
| 19: | return new ReportApp($this); |
| 20: | } |
| 21: | |
| 22: | public function hasLibrary(): bool |
| 23: | { |
| 24: | return false; |
| 25: | } |
| 26: | |
| 27: | public function getLibrary(): ?Ui5LibraryInterface |
| 28: | { |
| 29: | return null; |
| 30: | } |
| 31: | |
| 32: | public function getArtifactRoot(): Ui5ArtifactInterface |
| 33: | { |
| 34: | return $this->getApp(); |
| 35: | } |
| 36: | |
| 37: | public function getCards(): array |
| 38: | { |
| 39: | return []; |
| 40: | } |
| 41: | |
| 42: | public function getKpis(): array |
| 43: | { |
| 44: | return []; |
| 45: | } |
| 46: | |
| 47: | public function getTiles(): array |
| 48: | { |
| 49: | return []; |
| 50: | } |
| 51: | |
| 52: | public function getActions(): array |
| 53: | { |
| 54: | return []; |
| 55: | } |
| 56: | |
| 57: | public function getResources(): array |
| 58: | { |
| 59: | return []; |
| 60: | } |
| 61: | } |
| 62: | |