for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BeyondCode\EmailConfirmation\Events;
use Illuminate\Queue\SerializesModels;
/**
* Class Confirmed
* @package BeyondCode\EmailConfirmation\Events
*/
class Confirmed
{
use SerializesModels;
* The authenticated user.
*
* @var \Illuminate\Contracts\Auth\Authenticatable
public $user;
* Create a new event instance.
* @param \Illuminate\Contracts\Auth\Authenticatable $user
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct($user)
$this->user = $user;
}
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.