for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Anomaly\UsersModule\User\Event;
use Anomaly\UsersModule\User\Contract\UserInterface;
/**
* Class UserWasDeleted
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <[email protected]>
* @author Ryan Thompson <[email protected]>
*/
class UserWasDeleted
{
* The user object.
* @var UserInterface
protected $user;
* Create a new UserWasDeleted instance.
* @param UserInterface $user
public function __construct(UserInterface $user)
$this->user = $user;
}
* Get the user.
* @return UserInterface
public function getUser()
return $this->user;