Pop\Auth\Role::__toString PHP 메소드

__toString() 공개 메소드

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