Pop\Auth\Role::__construct PHP Méthode

__construct() public méthode

Instantiate the role object
public __construct ( string $name ) : Role
$name string
Résultat Role
    public function __construct($name)
    {
        $this->name = $name;
    }