cs: Fix code style (safe rules only).

This commit is contained in:
Pol Dellaiera
2021-11-23 14:06:38 +01:00
parent 149d7ce991
commit 8f96a1121d
1223 changed files with 65199 additions and 64625 deletions

View File

@@ -1,29 +1,40 @@
<?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.
*/
namespace Chill\DocGeneratorBundle\Context;
/**
* Interface for context for for document generation
* Interface for context for for document generation.
*/
interface DocGeneratorContextInterface
{
/**
* has form
* Get the data that will be injected to the generated document.
*
* @param mixed $entity
*/
public function hasForm(): bool;
public function getData($entity): array;
/**
* Generate the form that display
* Generate the form that display.
*
* @param mixed $entity
*/
public function getForm($entity);
/**
* True of false which entity supports
* has form.
*/
public function supports(string $entityClass): bool;
public function hasForm(): bool;
/**
* Get the data that will be injected to the generated document
* True of false which entity supports.
*/
public function getData($entity): array;
public function supports(string $entityClass): bool;
}