mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 02:27:01 +00:00
cs
This commit is contained in:
@@ -53,15 +53,15 @@ use Espo\Tools\EntityManager\NameUtil;
|
||||
*/
|
||||
class LinkManager
|
||||
{
|
||||
private const MANY_TO_MANY = 'manyToMany';
|
||||
private const MANY_TO_ONE = 'manyToOne';
|
||||
private const ONE_TO_MANY = 'oneToMany';
|
||||
private const CHILDREN_TO_PARENT = 'childrenToParent';
|
||||
private const ONE_TO_ONE_LEFT = 'oneToOneLeft';
|
||||
private const ONE_TO_ONE_RIGHT = 'oneToOneRight';
|
||||
private const string MANY_TO_MANY = 'manyToMany';
|
||||
private const string MANY_TO_ONE = 'manyToOne';
|
||||
private const string ONE_TO_MANY = 'oneToMany';
|
||||
private const string CHILDREN_TO_PARENT = 'childrenToParent';
|
||||
private const string ONE_TO_ONE_LEFT = 'oneToOneLeft';
|
||||
private const string ONE_TO_ONE_RIGHT = 'oneToOneRight';
|
||||
|
||||
// 64 - 3
|
||||
private const MAX_LINK_NAME_LENGTH = 61;
|
||||
private const int MAX_LINK_NAME_LENGTH = 61;
|
||||
|
||||
public function __construct(
|
||||
private Metadata $metadata,
|
||||
@@ -70,7 +70,7 @@ class LinkManager
|
||||
private DataManager $dataManager,
|
||||
private LinkHookProcessor $linkHookProcessor,
|
||||
private NameUtil $nameUtil,
|
||||
private Route $routeUtil
|
||||
private Route $routeUtil,
|
||||
) {}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user