Flarum\Core\AuthToken::getPayloadAttribute PHP Method

getPayloadAttribute() public method

Unserialize the payload attribute from the database's JSON value.
public getPayloadAttribute ( string $value ) : string
$value string
return string
    public function getPayloadAttribute($value)
    {
        return json_decode($value, true);
    }