src/Kunstmaan/SeoBundle/Twig/GoogleAnalyticsTwigExtension.php
private function setOptionIfNotSet(&$arr, $option, $value)
    {
        if ($this->isOptionSet($arr, $option)) {
            $arr[$option] = $value;
        }
    }
private function setOptionIfNotSet(&$arr, $option, $value)
    {
        if ($this->isOptionSet($arr, $option)) {
            $arr[$option] = $value;
        }
    }
private function setOptionIfNotSet ( & $ arr , $ option , $ value ) { if ( $ this -> isOptionSet ( $ arr , $ option ) ) { $ arr [ $ option ] = $ value ; } }
Prefer the given option if already set. Otherwise set the value given.

@param array  &$arr   This is modified in place
@param string $option the key in the $arr array
@param mixed  $value  the new value if the option wasn't set already
Prefer the given option if already set . Otherwise set the value given .