Pantheon\Terminus\Models\SavedToken::parseAttributes PHP Method

parseAttributes() protected method

protected parseAttributes ( $data )
    protected function parseAttributes($data)
    {
        if (property_exists($data, 'email')) {
            $data->id = $data->email;
        }
        return $data;
    }