public function getDefaultStrategy($filename)
    {
        // disable string callables to avoid calling a function named html or js,
        // or any other upcoming escaping strategy
        if (!is_string($this->defaultStrategy) && is_callable($this->defaultStrategy)) {
            return call_user_func($this->defaultStrategy, $filename);
        }

        return $this->defaultStrategy;
    }
public function getDefaultStrategy($filename)
    {
        // disable string callables to avoid calling a function named html or js,
        // or any other upcoming escaping strategy
        if (!is_string($this->defaultStrategy) && is_callable($this->defaultStrategy)) {
            return call_user_func($this->defaultStrategy, $filename);
        }

        return $this->defaultStrategy;
    }
public function getDefaultStrategy ( $ filename ) { // disable string callables to avoid calling a function named html or js, // or any other upcoming escaping strategy if ( ! is_string ( $ this -> defaultStrategy ) && is_callable ( $ this -> defaultStrategy ) ) { return call_user_func ( $ this -> defaultStrategy , $ filename ) ; } return $ this -> defaultStrategy ; }
Gets the default strategy to use when not defined by the user.

@param string $filename The template "filename"

@return string The default strategy to use for the template
Gets the default strategy to use when not defined by the user .