<?php
/**
- * An interface for the visitor pattern
+ * An interface for a visitable class that 'accepts' visitors
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface Visitable extends FrameworkInterface {
+ /**
+ * Accepts the visitor to rpocess the visit "request"
+ *
+ * @param $visitorInstance An instance of a Visitor class
+ * @return void
+ */
+ function accept (Visitor $visitorInstance);
}
//