27 lines
367 B
PHP
27 lines
367 B
PHP
<?php
|
|
|
|
namespace Vanguard\Events\User;
|
|
|
|
use Vanguard\User;
|
|
|
|
class Created
|
|
{
|
|
/**
|
|
* @var User
|
|
*/
|
|
protected $createdUser;
|
|
|
|
public function __construct(User $createdUser)
|
|
{
|
|
$this->createdUser = $createdUser;
|
|
}
|
|
|
|
/**
|
|
* @return User
|
|
*/
|
|
public function getCreatedUser()
|
|
{
|
|
return $this->createdUser;
|
|
}
|
|
}
|