PHP Class Neos\Neos\Ui\Domain\Model\ChangeCollection

Afficher le fichier Open project: neos/neos-ui Class Usage Examples

Protected Properties

Свойство Type Description
$changes array Changes in this collection

Méthodes publiques

Méthode Description
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

Method Details

add() public méthode

Add a change to this collection
public add ( Neos\Neos\Ui\Domain\Model\ChangeInterface $change ) : void
$change Neos\Neos\Ui\Domain\Model\ChangeInterface
Résultat void

apply() public méthode

Apply all changes
public apply ( ) : void
Résultat void

compress() public méthode

Reduce this collection to a minimal set of changes with the same outcome
public compress ( ) : ChangeCollection
Résultat ChangeCollection

count() public méthode

Get the number of changes in this collection
public count ( ) : integer
Résultat integer

Property Details

$changes protected_oe property

Changes in this collection
protected array $changes
Résultat array