Pop\Auth\Role::__toString PHP Method

__toString() public method

Method to return the string value of the name of the role
public __toString ( ) : string
return string
    public function __toString()
    {
        return $this->name;
    }