<?php
/**
 * Detector contract.
 *
 * @package LocalGuardScanner
 */

namespace LocalGuardScanner\Domain\Detection;

/**
 * Produces evidence without causing side effects.
 */
interface Detector {
	/** @return string */
	public function id();

	/**
	 * @param ScannableObject $scanned_object Object to inspect.
	 * @return Evidence[]
	 */
	public function inspect( ScannableObject $scanned_object );
}
