You are here

public function RequestBuilder::__call in Auth0 Single Sign On 8.2

Magic method to overload method calls to paths.

Parameters

string $name Method invoked.:

array|null $arguments Arguments to add to the path.:

Return value

RequestBuilder

Deprecated

5.6.0, use $this->addPath() to add paths.

File

vendor/auth0/auth0-php/src/API/Helpers/RequestBuilder.php, line 135

Class

RequestBuilder
Class RequestBuilder

Namespace

Auth0\SDK\API\Helpers

Code

public function __call($name, $arguments) {
  $argument = null;
  if (count($arguments) > 0) {
    $argument = $arguments[0];
  }
  $this
    ->addPath($name, $argument);
  return $this;
}