public function client($client, $secret, $redirect, $requestUrl, $accessUrl)
    {
        //argument test
        Argument::i()
            //argument 1 must be a string
            ->test(1, 'string')
            //argument 2 must be a url
            ->test(2, 'string')
            //argument 3 must be a url
            ->test(3, 'url')
            //argument 4 must be a url
            ->test(4, 'url')
            //argument 5 must be a url
            ->test(5, 'url');

        return Client::i($client, $secret, $redirect, $requestUrl, $accessUrl);
    }
public function client($client, $secret, $redirect, $requestUrl, $accessUrl)
    {
        //argument test
        Argument::i()
            //argument 1 must be a string
            ->test(1, 'string')
            //argument 2 must be a url
            ->test(2, 'string')
            //argument 3 must be a url
            ->test(3, 'url')
            //argument 4 must be a url
            ->test(4, 'url')
            //argument 5 must be a url
            ->test(5, 'url');

        return Client::i($client, $secret, $redirect, $requestUrl, $accessUrl);
    }
public function client ( $ client , $ secret , $ redirect , $ requestUrl , $ accessUrl ) { //argument test Argument :: i ( ) //argument 1 must be a string -> test ( 1 , 'string' ) //argument 2 must be a url -> test ( 2 , 'string' ) //argument 3 must be a url -> test ( 3 , 'url' ) //argument 4 must be a url -> test ( 4 , 'url' ) //argument 5 must be a url -> test ( 5 , 'url' ) ; return Client :: i ( $ client , $ secret , $ redirect , $ requestUrl , $ accessUrl ) ; }
Returns oauth 2 client side class

@param *string $client     The application client ID, can get through registration
@param *string $secret     The application secret, can get through registration
@param *string $redirect   Your callback url or where do you want to redirect the user after authentication
@param *string $requestUrl The request url,  can get through registration
@param *string $accessUrl  The access url,  can get through registration

@return Eden\Oauth\Oauth\Client
Returns oauth 2 client side class