src/diacronos/Lilo/FsUtils.php
/**
	 * Expand a relative path without extension to an absolute path.
	 * Find matches in every path load and returns the first matched.
	 *
	 * @access  public
	 * @param   string $relPath
	 * @return  string
	 * @throws \Exception if a $relPath doesn't exists
	 * @internal param array $extensions extensions to try
	 */
Expand a relative path without extension to an absolute path.
Find matches in every path load and returns the first matched.


Expand a relative path without extension to an absolute path . Find matches in every path load and returns the first matched .
public function tryExtensionsForExpand($relPath)
	{
		foreach ($this->getWorkExtensions() as $ext) {
			try {
				return $this->expand($relPath . '.' . $ext);
			} catch (\Exception $e) {
			}
		}
		return $this->expand($relPath);
	}
public function tryExtensionsForExpand ( $ relPath ) { foreach ( $ this -> getWorkExtensions ( ) as $ ext ) { try { return $ this -> expand ( $ relPath . '.' . $ ext ) ; } catch ( \ Exception $ e ) { } } return $ this -> expand ( $ relPath ) ; }
Expand a relative path without extension to an absolute path.
Expand a relative path without extension to an absolute path .
// doesn't nothing