public function getBindingForFile( $file ) {
		$engine_key = $this->default;

		foreach ( $this->bindings as $suffix => $engine ) {
			if ( substr( $file, -strlen( $suffix ) ) === $suffix ) {
				$engine_key = $engine;
				break;
			}
		}

		return $engine_key;
	}
public function getBindingForFile( $file ) {
		$engine_key = $this->default;

		foreach ( $this->bindings as $suffix => $engine ) {
			if ( substr( $file, -strlen( $suffix ) ) === $suffix ) {
				$engine_key = $engine;
				break;
			}
		}

		return $engine_key;
	}
public function getBindingForFile ( $ file ) { $ engine_key = $ this -> default ; foreach ( $ this -> bindings as $ suffix => $ engine ) { if ( substr ( $ file , - strlen ( $ suffix ) ) === $ suffix ) { $ engine_key = $ engine ; break ; } } return $ engine_key ; }
Get the engine key binding for a specific file

@param  string $file
@return string
Get the engine key binding for a specific file