CustomDataAwareInterface
        CustomDataAwareInterface.php
                :
        14
                 
    
            Interface
                Object data marked with this interface has the capacity to manipulate custom object data in itself.
Methods¶
                 addData()
            ¶
addData()
            ¶
    
        
        CustomDataAwareInterface.php
                :
        34
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $data | object | - | - | 
Return values
$this
                 getData()
            ¶
getData()
            ¶
    
        
        CustomDataAwareInterface.php
                :
        22
                 
    
        TODO: Create a dedicated "Valid"-like constraint that will use different validation groups in itself.
|  |  | 
TODO: See https://github.com/symfony/symfony/issues/40741.
Return values
array<string|int, object>
                 removeData()
            ¶
removeData()
            ¶
    
        
        CustomDataAwareInterface.php
                :
        39
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $data | object | - | - | 
Return values
$this
                 setData()
            ¶
setData()
            ¶
    
        
        CustomDataAwareInterface.php
                :
        29
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $data | array<string|int, object> | - | - | 
Return values
$this