HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/anestetues2/vendor/roots/acorn/src/Roots/Acorn/Exceptions/SkipProviderException.php
<?php

namespace Roots\Acorn\Exceptions;

use InvalidArgumentException;
use Throwable;

class SkipProviderException extends InvalidArgumentException
{
    /**
     * Create a new exception.
     *
     * @return void
     */
    public function __construct(string $message = '', int $code = 0, ?Throwable $previous = null, string $package = '')
    {
        parent::__construct($message, $code, $previous);

        $this->package = $package;
    }

    /**
     * Name of the provider's package.
     *
     * @var string
     */
    protected $package;

    /**
     * Set the name of the provider's package.
     *
     * @return void
     */
    public function setPackage(string $package)
    {
        $this->package = $package;
    }

    /**
     * Get the provider's package.
     *
     * @return string
     */
    public function package()
    {
        return $this->package;
    }

    /**
     * Report the exception.
     *
     * @return array
     */
    public function context()
    {
        return [
            'package' => $this->package(),
        ];
    }
}