src/Pho/Compiler/V1/AnalyzerInterface.php
<?php
/*
* This file is part of the Pho package.
*
* (c) Emre Sokullu <emre@phonetworks.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Pho\Compiler\V1;
use Pho\Compiler\Prototypes\PrototypeInterface;
interface AnalyzerInterface
{
/**
* Analyzes given input.
*
* @param mixed $input
* @param ?PrototypeInterface The prototype object or null if it's not needed yet.
*/
public static function process(/*mixed*/ $input, PrototypeInterface $prototype): void;
}