This commit is contained in:
2025-05-12 14:25:25 +02:00
parent ab2db755ef
commit 9e378ca2b7
2719 changed files with 46505 additions and 60181 deletions

View File

@@ -0,0 +1,7 @@
<?php
namespace Spatie\Ignition\Contracts;
class BaseSolution extends \Spatie\ErrorSolutions\Contracts\BaseSolution implements Solution
{
}

View File

@@ -0,0 +1,7 @@
<?php
namespace Spatie\Ignition\Contracts;
interface HasSolutionsForThrowable extends \Spatie\ErrorSolutions\Contracts\HasSolutionsForThrowable
{
}

View File

@@ -0,0 +1,7 @@
<?php
namespace Spatie\Ignition\Contracts;
interface ProvidesSolution extends \Spatie\ErrorSolutions\Contracts\ProvidesSolution
{
}

View File

@@ -0,0 +1,16 @@
<?php
namespace Spatie\Ignition\Contracts;
interface RunnableSolution extends Solution
{
public function getSolutionActionDescription(): string;
public function getRunButtonText(): string;
/** @param array<string, mixed> $parameters */
public function run(array $parameters = []): void;
/** @return array<string, mixed> */
public function getRunParameters(): array;
}

View File

@@ -0,0 +1,7 @@
<?php
namespace Spatie\Ignition\Contracts;
interface Solution extends \Spatie\ErrorSolutions\Contracts\Solution
{
}

View File

@@ -0,0 +1,8 @@
<?php
namespace Spatie\Ignition\Contracts;
interface SolutionProviderRepository extends \Spatie\ErrorSolutions\Contracts\SolutionProviderRepository
{
}