src/View/Twig/TwigTranspiler.php
/**
	 * Finds all tags from extensions which are to be transpiled.
	 *
	 * @return string[]
	 */
Finds all tags from extensions which are to be transpiled.
@return string[]
Finds all tags from extensions which are to be transpiled . @return string []
protected function findTranspilers() {
		$found = array();
		foreach ($this->extensions as $extension) {
			$transpilers = $extension->getTranspilers();
			foreach ($transpilers as $tag => $command) {
				$tagName = strtolower($tag);
				if (!isset($found[$tagName])) {
					$found[$tagName] = $command;
				}
			}
		}
		return $found;
	}
protected function findTranspilers ( ) { $ found = array ( ) ; foreach ( $ this -> extensions as $ extension ) { $ transpilers = $ extension -> getTranspilers ( ) ; foreach ( $ transpilers as $ tag => $ command ) { $ tagName = strtolower ( $ tag ) ; if ( ! isset ( $ found [ $ tagName ] ) ) { $ found [ $ tagName ] = $ command ; } } } return $ found ; }
Finds all tags from extensions which are to be transpiled.
Finds all tags from extensions which are to be transpiled .