public function compile($value, $serversOnly = false)
    {
        $compilers = $serversOnly ? $this->serverCompilers : $this->compilers;

        $value = $this->initializeVariables($value);

        foreach ($compilers as $compiler) {
            $value = $this->{"compile{$compiler}"}($value);
        }

        return $value;
    }
public function compile($value, $serversOnly = false)
    {
        $compilers = $serversOnly ? $this->serverCompilers : $this->compilers;

        $value = $this->initializeVariables($value);

        foreach ($compilers as $compiler) {
            $value = $this->{"compile{$compiler}"}($value);
        }

        return $value;
    }
public function compile ( $ value , $ serversOnly = false ) { $ compilers = $ serversOnly ? $ this -> serverCompilers : $ this -> compilers ; $ value = $ this -> initializeVariables ( $ value ) ; foreach ( $ compilers as $ compiler ) { $ value = $ this -> { "compile{$compiler}" } ( $ value ) ; } return $ value ; }
Compile the given Envoy template contents.

@param  string  $value
@param  bool  $serversOnly
@return string
Compile the given Envoy template contents .