ok

Mini Shell

Direktori : /home2/selectio/public_html/limpiar.in.net/app/Services/
Upload File :
Current File : //home2/selectio/public_html/limpiar.in.net/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();
    }

}

Zerion Mini Shell 1.0