PHP Класс Neos\Neos\Ui\Domain\Model\Changes\Property

Наследование: extends Neos\Neos\Ui\Domain\Model\AbstractChange
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
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

Описание методов

apply() публичный Метод

Applies this change
public apply ( ) : void
Результат void

canApply() публичный Метод

Checks whether this change can be applied to the subject
public canApply ( ) : boolean
Результат boolean

canMerge() публичный Метод

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
Результат boolean

getPropertyName() публичный Метод

Get the property name
public getPropertyName ( ) : string
Результат string

getValue() публичный Метод

Get the value
public getValue ( ) : mixed
Результат mixed

merge() публичный Метод

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
Результат Neos\Neos\Ui\Domain\Model\ChangeInterface | null

setPropertyName() публичный Метод

Set the property name
public setPropertyName ( string $propertyName ) : void
$propertyName string
Результат void

setValue() публичный Метод

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

Описание свойств

$nodePropertyConversionService защищенное свойство

protected NodePropertyConversionService,Neos\Neos\Ui\Domain\Service $nodePropertyConversionService
Результат Neos\Neos\Ui\Domain\Service\NodePropertyConversionService

$propertyName защищенное свойство

The name of the property to be changed
protected string $propertyName
Результат string

$value защищенное свойство

The value, the property will be set to
protected mixed $value
Результат mixed