X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/spatie/error-solutions/src/Contracts
home
/
prisjneg
/
public_html
/
vendor
/
spatie
/
error-solutions
/
src
/
Contracts
/
📁
..
📄
BaseSolution.php
(1.36 KB)
📄
HasSolutionsForThrowable.php
(317 B)
📄
ProvidesSolution.php
(206 B)
📄
RunnableSolution.php
(403 B)
📄
Solution.php
(271 B)
📄
SolutionProviderRepository.php
(904 B)
📁
requests
Editing: BaseSolution.php
<?php namespace Spatie\ErrorSolutions\Contracts; class BaseSolution implements Solution { protected string $title; protected string $description = ''; /** @var array<string, string> */ protected array $links = []; public static function create(string $title = ''): static { // It's important to keep the return type as static because // the old Facade Ignition contracts extend from this method. /** @phpstan-ignore-next-line */ return new static($title); } public function __construct(string $title = '') { $this->title = $title; } public function getSolutionTitle(): string { return $this->title; } public function setSolutionTitle(string $title): self { $this->title = $title; return $this; } public function getSolutionDescription(): string { return $this->description; } public function setSolutionDescription(string $description): self { $this->description = $description; return $this; } /** @return array<string, string> */ public function getDocumentationLinks(): array { return $this->links; } /** @param array<string, string> $links */ public function setDocumentationLinks(array $links): self { $this->links = $links; return $this; } }
Upload File
Create Folder