src/Mmanos/Casset/Container.php
public function compile($path)
	{
		switch (pathinfo($path, PATHINFO_EXTENSION)) {
			case 'less':
				$less = new Less_Parser;
				$content = '/*' . md5(File::get($path)) . "*/\n" . $less->parseFile($path)->getCss();
				
				break;
				
			default:
				$content = File::get($path);
		}
		
		return $content;
	}
public function compile($path)
	{
		switch (pathinfo($path, PATHINFO_EXTENSION)) {
			case 'less':
				$less = new Less_Parser;
				$content = '/*' . md5(File::get($path)) . "*/\n" . $less->parseFile($path)->getCss();
				
				break;
				
			default:
				$content = File::get($path);
		}
		
		return $content;
	}
public function compile ( $ path ) { switch ( pathinfo ( $ path , PATHINFO_EXTENSION ) ) { case 'less' : $ less = new Less_Parser ; $ content = '/*' . md5 ( File :: get ( $ path ) ) . "*/\n" . $ less -> parseFile ( $ path ) -> getCss ( ) ; break ; default : $ content = File :: get ( $ path ) ; } return $ content ; }
Compile and return the content for the given asset according to it's
extension.

@param string $path Asset path.

@return string
Compile and return the content for the given asset according to it s extension .