Pop\Auth\Role::__construct PHP Method

__construct() public method

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