public function setPrefixJavascriptVariable($prefixJavascriptVariable)
    {
        if (!is_string($prefixJavascriptVariable)) {
            throw AssetException::invalidPrefixJavascriptVariable();
        }

        $this->javascriptVariable = $this->generateJavascriptVariable($prefixJavascriptVariable);
    }
public function setPrefixJavascriptVariable($prefixJavascriptVariable)
    {
        if (!is_string($prefixJavascriptVariable)) {
            throw AssetException::invalidPrefixJavascriptVariable();
        }

        $this->javascriptVariable = $this->generateJavascriptVariable($prefixJavascriptVariable);
    }
public function setPrefixJavascriptVariable ( $ prefixJavascriptVariable ) { if ( ! is_string ( $ prefixJavascriptVariable ) ) { throw AssetException :: invalidPrefixJavascriptVariable ( ) ; } $ this -> javascriptVariable = $ this -> generateJavascriptVariable ( $ prefixJavascriptVariable ) ; }
Sets the prefix of the javascript variable.

@param string $prefixJavascriptVariable The prefix of the javascript variable.

@throws \Ivory\GoogleMap\Exception\AssetException If the prefix javascript variable is not valid.
Sets the prefix of the javascript variable .