<?php
namespace App\Event\Article;
use App\Entity\Articles\Article;
use App\Entity\Articles\MouvementStock;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Contracts\EventDispatcher\Event;
class ArticlePumpUpdateEvent extends Event
{
protected $article;
private $output;
private $mouvementStock;
public function __construct(Article $article, OutputInterface $output = null, MouvementStock $mouvementStock = null)
{
$this->article = $article;
$this->output = $output;
$this->mouvementStock = $mouvementStock;
}
public function getArticle()
{
return $this->article;
}
public function getOutput()
{
return $this->output;
}
public function getMouvementStock()
{
return $this->mouvementStock;
}
}