open-orchestra/open-orchestra-model-interface

View on GitHub
ModelInterface/Event/EventTrait/EventStatusable.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\ModelInterface\Event\EventTrait;

use OpenOrchestra\ModelInterface\Model\StatusInterface;

/**
 * Trait EventStatusable
 */
trait EventStatusable
{
    protected $previousStatus;

    /**
     * @return StatusInterface|null
     */
    public function getPreviousStatus()
    {
        return $this->previousStatus;
    }
}