public function create($className)
        {
            $facade = $this->helper->getFacadeClassName($className);

            if (!class_exists($facade)) {
                throw new RuntimeException("Class '$facade' not found");
            }
            $className = $this->helper->getSDKClassName($className);
            return new $facade(new $className($this->httpClient));
        }
public function create($className)
        {
            $facade = $this->helper->getFacadeClassName($className);

            if (!class_exists($facade)) {
                throw new RuntimeException("Class '$facade' not found");
            }
            $className = $this->helper->getSDKClassName($className);
            return new $facade(new $className($this->httpClient));
        }
public function create ( $ className ) { $ facade = $ this -> helper -> getFacadeClassName ( $ className ) ; if ( ! class_exists ( $ facade ) ) { throw new RuntimeException ( "Class '$facade' not found" ) ; } $ className = $ this -> helper -> getSDKClassName ( $ className ) ; return new $ facade ( new $ className ( $ this -> httpClient ) ) ; }
Get the facade for SDK

@param $className

@return mixed
@throws Exception\RuntimeException
Get the facade for SDK