Toggle command - special command for toggling a boolean property between '1' and '' (empty string).

Implementation about a command definition.

 Methods

{@inheritDoc}

getToggleProperty() 

{@inheritDoc}

isInverse() 

{@inheritDoc}

setInverse($inverse) 

Parameters

$inverse

{@inheritDoc}

setToggleProperty($property) 

Parameters

$property

 Properties

 

The toggle command is an inverse command.

$inverse : bool
That means, the toggle does not toggle not-published <-> published, but not-disabled <-> disabled.
 

The property name to toggle.

$property : string