Skip to content

Commit

Permalink
Add exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed May 28, 2024
1 parent c232055 commit 7311e36
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Lib/ToolResolverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,22 @@

namespace Pimcore\Bundle\StaticResolverBundle\Lib;

use Exception;
use Pimcore\Mail;

interface ToolResolverInterface
{
public function getValidLanguages(): array;

/**
* @throws Exception
*/
public function getSupportedLocales(): array;

public function getDefaultLanguage(): ?string;

/**
* @throws Exception
*/
public function getMail(array|string $recipients = null, string $subject = null): Mail;
}

0 comments on commit 7311e36

Please sign in to comment.