PHP Класс Neos\Neos\Ui\Domain\Model\ChangeCollection

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$changes array Changes in this collection

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

Метод Описание
add ( Neos\Neos\Ui\Domain\Model\ChangeInterface $change ) : void Add a change to this collection
apply ( ) : void Apply all changes
compress ( ) : ChangeCollection Reduce this collection to a minimal set of changes with the same outcome
count ( ) : integer Get the number of changes in this collection

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

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

Add a change to this collection
public add ( Neos\Neos\Ui\Domain\Model\ChangeInterface $change ) : void
$change Neos\Neos\Ui\Domain\Model\ChangeInterface
Результат void

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

Apply all changes
public apply ( ) : void
Результат void

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

Reduce this collection to a minimal set of changes with the same outcome
public compress ( ) : ChangeCollection
Результат ChangeCollection

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

Get the number of changes in this collection
public count ( ) : integer
Результат integer

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

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

Changes in this collection
protected array $changes
Результат array