MBHFramework/structures

View on GitHub
Mbh/Tree/Interfaces/Visitor.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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);
}