Mbh/Tree/Interfaces/Visitor.php
<?php namespace Mbh\Tree\Interfaces;
/**
* MBHFramework
*
* @link https://github.com/MBHFramework/mbh-framework
* @copyright Copyright (c) 2017 Ulises Jeremias Cornejo Fandos
* @license https://github.com/MBHFramework/mbh-framework/blob/master/LICENSE (MIT License)
*/
/**
* Visitor interface
*
* @package structures
* @author Ulises Jeremias Cornejo Fandos <ulisescf.24@gmail.com>
*/
interface Visitor
{
/**
* @param Node $node
* @return mixed
*/
public function visit(Node $node);
}