Jackalope\Item::isDirty PHP Méthode

isDirty() public méthode

Returns true if this Item has been marked dirty (i.e. being saved) and has not been refreshed since. The in-memory representation of the item in memory might not reflect the current state in the backend (for instance if mix:referenceable mixin type has been added to the item the backend creates a UUID on save).
public isDirty ( ) : boolean
Résultat boolean
    public function isDirty()
    {
        return self::STATE_DIRTY === $this->state;
    }