open-orchestra/open-orchestra-model-interface

View on GitHub
ModelInterface/Event/WorkflowProfileEvent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\ModelInterface\Event;

use OpenOrchestra\ModelInterface\Model\WorkflowProfileInterface;
use Symfony\Component\EventDispatcher\Event;

/**
 * Class WorkflowProfileEvent
 */
class WorkflowProfileEvent extends Event
{
    protected $workflowProfile;

    /**
     * @param WorkflowProfileInterface $workflowProfile
     */
    public function __construct(WorkflowProfileInterface $workflowProfile)
    {
        $this->workflowProfile = $workflowProfile;
    }

    /**
     * @return WorkflowProfileInterface
     */
    public function getWorkflowProfile()
    {
        return $this->workflowProfile;
    }
}