public __construct ( string $name, Pagekit\Auth\UserInterface $user = null ) | ||
$name | string | |
$user | Pagekit\Auth\UserInterface |
public function __construct($name, UserInterface $user = null)
{
parent::__construct($name);
$this->user = $user;
}