Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Not truely a visitor pattern as no accept() methods are being implemented; in this case
* there's just no need to complicate things
*/
interface VisitorPattern
{
static public function visit(&$element);
}