public function resolveSnippet($name, array &$parameters)
    {
        $name = strtoupper($name);

        if (isset($this->clauses[$name])) {
            $snippet = $this->clauses[$name]->resolveClauses($parameters);
        } elseif (isset($this->snippets[$name])) {
            $snippet = $this->snippets[$name];
        } else {
            $snippet = '';
        }

        return $snippet;
    }
public function resolveSnippet($name, array &$parameters)
    {
        $name = strtoupper($name);

        if (isset($this->clauses[$name])) {
            $snippet = $this->clauses[$name]->resolveClauses($parameters);
        } elseif (isset($this->snippets[$name])) {
            $snippet = $this->snippets[$name];
        } else {
            $snippet = '';
        }

        return $snippet;
    }
public function resolveSnippet ( $ name , array & $ parameters ) { $ name = strtoupper ( $ name ) ; if ( isset ( $ this -> clauses [ $ name ] ) ) { $ snippet = $ this -> clauses [ $ name ] -> resolveClauses ( $ parameters ) ; } elseif ( isset ( $ this -> snippets [ $ name ] ) ) { $ snippet = $ this -> snippets [ $ name ] ; } else { $ snippet = '' ; } return $ snippet ; }
Resolve template snippet.

@param   string                      $name               Name of snippet to resolve.
@param   array                       $parameters         Parameters for resolving snippet.
@return  array                                           Array of resolved template snippet and parameters.
Resolve template snippet .