# depicter/1.2.0/vendor/htmlburger/wpemerge/src/View/ViewFinderInterface.php

Depicter — Popup &amp; Slider Builder, version 1.2.0. 32 lines.

- Page: https://pluginprobe.com/plugins/depicter/1.2.0/code/vendor/htmlburger/wpemerge/src/View/ViewFinderInterface.php
- Raw: https://pluginprobe.com/plugins/depicter/1.2.0/raw/vendor/htmlburger/wpemerge/src/View/ViewFinderInterface.php
- Modified: 2022-06-01T06:26:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/depicter/1.2.0/code/vendor/htmlburger/wpemerge/src/View/ViewFinderInterface.php#L10-L20`.

```php
<?php
/**
 * @package   WPEmerge
 * @author    Atanas Angelov <hi@atanas.dev>
 * @copyright 2017-2019 Atanas Angelov
 * @license   https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
 * @link      https://wpemerge.com/
 */

namespace WPEmerge\View;

/**
 * Interface that view finders must implement.
 */
interface ViewFinderInterface {
	/**
	 * Check if a view exists.
	 *
	 * @param  string  $view
	 * @return boolean
	 */
	public function exists( $view );

	/**
	 * Return a canonical string representation of the view name.
	 *
	 * @param  string $view
	 * @return string
	 */
	public function canonical( $view );
}

```
