mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
misc: Update interface doc.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Chill\DocGeneratorBundle\Context;
|
||||
|
||||
use Chill\DocGeneratorBundle\Context\Exception\ContextNotFoundException;
|
||||
use Chill\DocGeneratorBundle\Entity\DocGeneratorTemplate;
|
||||
|
||||
interface ContextManagerInterface
|
||||
{
|
||||
/**
|
||||
* @throws ContextNotFoundException When the context is not found.
|
||||
*/
|
||||
public function getContextByDocGeneratorTemplate(DocGeneratorTemplate $docGeneratorTemplate): DocGeneratorContextInterface;
|
||||
|
||||
/**
|
||||
* @throws ContextNotFoundException When the context is not found.
|
||||
*/
|
||||
public function getContextByKey(string $searchedKey): DocGeneratorContextInterface;
|
||||
|
||||
public function getContexts(): array;
|
||||
}
|
Reference in New Issue
Block a user