src/View/Kernel.php
/**
	 * Resolves a template name to an absolute path, or returns null if it wasn't found.
	 *
	 * @param string $templateName
	 * @return string|null
	 */
Resolves a template name to an absolute path, or returns null if it wasn't found.
@param string $templateName
@return string|null
Resolves a template name to an absolute path or returns null if it wasn ' t found . @param string $templateName @return string|null
public function resolveView($templateName) {
		$path = null;
		foreach ($this->viewLoaders as $loader) {
			$absolute = $loader->resolve($templateName);
			if (!is_null($absolute)) {
				$path = $absolute;
			}
		}
		return $path;
	}
public function resolveView ( $ templateName ) { $ path = null ; foreach ( $ this -> viewLoaders as $ loader ) { $ absolute = $ loader -> resolve ( $ templateName ) ; if ( ! is_null ( $ absolute ) ) { $ path = $ absolute ; } } return $ path ; }
Resolves a template name to an absolute path, or returns null if it wasn't found.
Resolves a template name to an absolute path or returns null if it wasn ' t found .