| 1 | <?php |
||
| 17 | abstract class Entity implements EntityInterface { |
||
|
1 ignored issue
–
show
|
|||
| 18 | |||
| 19 | protected static $propertyMapDefinition = array(); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Creates a new Entity object. |
||
| 23 | * |
||
| 24 | * @param \stdClass $values |
||
| 25 | * The entity data. |
||
| 26 | */ |
||
| 27 | public function __construct(\stdClass $values) { |
||
| 30 | |||
| 31 | public function raw() { |
||
| 54 | |||
| 55 | public function update(\stdClass $values) { |
||
| 62 | |||
| 63 | public static function getEntityType() { |
||
| 67 | |||
| 68 | public static function getPropertyMapDefinition() { |
||
| 71 | |||
| 72 | public static function reverse($entity, $context, EntityManagerInterface $entityManager) { |
||
| 76 | |||
| 77 | public static function reverseArray(array $entities, $context, EntityManagerInterface $entityManager) { |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @param string $entityType |
||
| 87 | * @param string $idName |
||
| 88 | */ |
||
| 89 | public static function transform($value, $context, EntityManagerInterface $entityManager, $entityType, $idName, array $contextPropertyMap = array()) { |
||
| 96 | |||
| 97 | public static function transformHelper($value, $context, $idName, array $contextPropertyMap = array()) { |
||
| 108 | } |
||
| 109 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.