src/GoogleMaps.php
private function loadExtensions($extensions)
    {
        $extensions = Arr::wrap($extensions);

        foreach ($extensions as $extension) {
            $extension = 'ext'.$extension;

            if (method_exists($this, $extension)) {
                $this->$extension();
            }
        }
    }
private function loadExtensions($extensions)
    {
        $extensions = Arr::wrap($extensions);

        foreach ($extensions as $extension) {
            $extension = 'ext'.$extension;

            if (method_exists($this, $extension)) {
                $this->$extension();
            }
        }
    }
private function loadExtensions ( $ extensions ) { $ extensions = Arr :: wrap ( $ extensions ) ; foreach ( $ extensions as $ extension ) { $ extension = 'ext' . $ extension ; if ( method_exists ( $ this , $ extension ) ) { $ this -> $ extension ( ) ; } } }
Load requested extensions.

@param string|array $extensions

@return void
Load requested extensions .