프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$entityClass | string | Entity class name | |
$rules | array | Converter rules | |
$supportedBehaviors |
메소드 | 설명 | |
---|---|---|
behaviorsToData ( array $behaviors ) : array | Transforms internal names of given behaviors to use in API | |
behaviorsToEntity ( array $behaviors, boolean $onlySupported = true ) : array | Transforms given names of behaviors used in API to internal representation | |
validateEntity ( $entity ) | ||
validateObject ( $object, $method = null ) |
메소드 | 설명 | |
---|---|---|
_builtinAutomation ( $from, $to, $action ) | ||
_category ( $from, $to, $action ) | ||
_os ( $from, $to, $action ) | ||
_scope ( $from, $to, $action ) |
public static behaviorsToData ( array $behaviors ) : array | ||
$behaviors | array | Array of a Role behaviors |
리턴 | array | Returns an array of names of behaviors |