/** * Processes a file * * @param string $uPath file path * @param string $uFileContents contents of file * @param TokenStream $uTokenStream extracted tokens wrapped with tokenstream * * @return void */ public function processFile($uPath, $uFileContents, TokenStream $uTokenStream) { $tViewEngine = Views::findViewEngine($uPath); if ($tViewEngine === null) { return; } // TODO compile view $tViewEngineClass = get_class($tViewEngine); echo sprintf("View %s => %s\n", $uPath, $tViewEngineClass); }