This class represents a policy value.
Properties¶
                 $limitations
            ¶
        $limitations
            ¶
    
        
        Policy.php
                 
    
        |  |  | 
an array of \Ibexa\Contracts\Core\Repository\Values\User\Limitation
                 $function
            ¶
        $function
            ¶
    
        
        Policy.php
                :
        54
                 
    
        Name of the module function Or all functions with '*'.
|  |  | 
Eg: read
                 $id
            ¶
        $id
            ¶
    
        
        Policy.php
                :
        29
                 
    
        ID of the policy.
|  |  | 
                 $module
            ¶
        $module
            ¶
    
        
        Policy.php
                :
        45
                 
    
        Name of module, associated with the Policy.
|  |  | 
Eg: content
                 $roleId
            ¶
        $roleId
            ¶
    
        
        Policy.php
                :
        36
                 
    
        the ID of the role this policy belongs to.
|  |  | 
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        
        ValueObject.php
                :
        31
                 
    
        Construct object optionally with a set of properties.
|  |  | 
Readonly properties values must be set using $properties as they aren't writable anymore
after object has been created.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $properties | array<string, mixed> | [] | - | 
                 getLimitations()
            ¶
getLimitations()
            ¶
    
        
        Policy.php
                :
        59
                 
    
        |  |  | 
Return values
array<string|int, Limitation>
                 getProperties()
            ¶
getProperties()
            ¶
    
        
        ValueObject.php
                :
        54
                 
    
        Returns list of available properties' names.
|  |  | 
Override to add dynamic properties.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $dynamicProperties | array<int, string> | [] | Additional dynamic properties exposed on the object | 
Return values
array<int, string>