Aws\Sdk::__call PHP Method

__call() public method

public __call ( $name, array $args )
$args array
    public function __call($name, array $args)
    {
        $args = isset($args[0]) ? $args[0] : [];
        if (strpos($name, 'createMultiRegion') === 0) {
            return $this->createMultiRegionClient(substr($name, 17), $args);
        } elseif (strpos($name, 'create') === 0) {
            return $this->createClient(substr($name, 6), $args);
        }
        throw new \BadMethodCallException("Unknown method: {$name}.");
    }