/**
 * Set views extension.
 *
 * @param string $extension Views extension.
 */
public static function setExtension(string $extension): void

Examples

View::setExtension('php');