PHP Class Neos\Neos\Ui\Domain\Model\Changes\Property

Inheritance: extends Neos\Neos\Ui\Domain\Model\AbstractChange
显示文件 Open project: neos/neos-ui

Protected Properties

Property Type Description
$nodePropertyConversionService Neos\Neos\Ui\Domain\Service\NodePropertyConversionService
$propertyName string The name of the property to be changed
$value mixed The value, the property will be set to

Public Methods

Method Description
apply ( ) : void Applies this change
canApply ( ) : boolean Checks whether this change can be applied to the subject
canMerge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : boolean Checks whether this change can be merged with a subsequent change
getPropertyName ( ) : string Get the property name
getValue ( ) : mixed Get the value
merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : Neos\Neos\Ui\Domain\Model\ChangeInterface | null Merges this change with a subsequent change
setPropertyName ( string $propertyName ) : void Set the property name
setValue ( mixed $value ) Set the value

Method Details

apply() public method

Applies this change
public apply ( ) : void
return void

canApply() public method

Checks whether this change can be applied to the subject
public canApply ( ) : boolean
return boolean

canMerge() public method

Checks whether this change can be merged with a subsequent change
public canMerge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : boolean
$subsequentChange Neos\Neos\Ui\Domain\Model\ChangeInterface
return boolean

getPropertyName() public method

Get the property name
public getPropertyName ( ) : string
return string

getValue() public method

Get the value
public getValue ( ) : mixed
return mixed

merge() public method

Merges this change with a subsequent change
public merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : Neos\Neos\Ui\Domain\Model\ChangeInterface | null
$subsequentChange Neos\Neos\Ui\Domain\Model\ChangeInterface
return Neos\Neos\Ui\Domain\Model\ChangeInterface | null

setPropertyName() public method

Set the property name
public setPropertyName ( string $propertyName ) : void
$propertyName string
return void

setValue() public method

Set the value
public setValue ( mixed $value )
$value mixed

Property Details

$nodePropertyConversionService protected_oe property

protected NodePropertyConversionService,Neos\Neos\Ui\Domain\Service $nodePropertyConversionService
return Neos\Neos\Ui\Domain\Service\NodePropertyConversionService

$propertyName protected_oe property

The name of the property to be changed
protected string $propertyName
return string

$value protected_oe property

The value, the property will be set to
protected mixed $value
return mixed