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

Examples

View::setDirectory(__DIR__);