src/class-digster.php
public static function view( $view = null, array $data = [] ) {
		if ( func_num_args() === 0 ) {
			return self::factory();
		}

		return self::factory()->make( $view, $data );
	}
public static function view( $view = null, array $data = [] ) {
		if ( func_num_args() === 0 ) {
			return self::factory();
		}

		return self::factory()->make( $view, $data );
	}
public static function view ( $ view = null , array $ data = [ ] ) { if ( func_num_args ( ) === 0 ) { return self :: factory ( ) ; } return self :: factory ( ) -> make ( $ view , $ data ) ; }
Get the view class.

@param  string $view
@param  array  $data

@return string
Get the view class .