Sindbad~EG File Manager

Current Path : /home/zada/public_html/app/Services/
Upload File :
Current File : /home/zada/public_html/app/Services/SocialRevoke.php

<?php

namespace App\Services;

use Illuminate\Http\Request;

class SocialRevoke {

    public function apply($provider)
    {
        $provider_class = __NAMESPACE__ . '\\Revoke\\' . str_replace(' ', '', ucwords(str_replace('_', ' ', $provider.'Revoke')));

        if (class_exists($provider_class)) {
            return (new $provider_class)->apply();
        }
        $revoke = new $provider_class();
        return $revoke->apply();
    }

}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists (>^ω^<)看过哭02teddd(>^ω^<)看过哭02teddd