mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized documentation
This commit is contained in:
34
application/symfony/README.md
Normal file
34
application/symfony/README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
## backend application
|
||||
|
||||
## conventions
|
||||
|
||||
### coding
|
||||
|
||||
#### symfony
|
||||
The application MUST use Symfony 4. coding standards
|
||||
|
||||
#### php
|
||||
PHP code MUST follow the [PSR-4](https://www.php-fig.org/psr/psr-4/) standard.
|
||||
|
||||
#### twig
|
||||
Twig templates MUST follow the [Symfony Template best practices](https://symfony.com/doc/current/best_practices/templates.html).
|
||||
|
||||
### naming
|
||||
|
||||
#### interfaces
|
||||
|
||||
A Interfaces MUST be named *ClassnameInterface*.
|
||||
|
||||
It SHOULD be based in the directory of the class.
|
||||
|
||||
#### abstract classes
|
||||
|
||||
A abstract class MUST be named *AbstractClassname*.
|
||||
|
||||
It SHOULD be based in the directory of the classes which inherit from it.
|
||||
|
||||
###### entities
|
||||
|
||||
####### source
|
||||
|
||||
A source MUST be named *SourcenameSource*.
|
Reference in New Issue
Block a user