for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AnimeDb package.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2011, Peter Gribanov
* @license http://opensource.org/licenses/GPL-3.0 GPL v3
*/
namespace AnimeDb\Bundle\CatalogBundle\Event\Storage;
use Symfony\Component\EventDispatcher\Event;
use AnimeDb\Bundle\CatalogBundle\Entity\Item;
* Event thrown when item is removed.
class DeleteItemFiles extends Event
{
* @var Item
protected $item;
* @param Item $item
public function __construct(Item $item)
$this->item = $item;
}
* @return Item
public function getItem()
return $this->item;