Spot\Entity::relations PHP Method

relations() public static method

Return defined fields of the entity
public static relations ( spot\MapperInterface $mapper, spot\EntityInterface $entity ) : array
$mapper spot\MapperInterface
$entity spot\EntityInterface
return array
    public static function relations(MapperInterface $mapper, EntityInterface $entity)
    {
        return [];
    }