<?php

namespace Concrete\Core\Express\Form\Validator\Routine;

use Concrete\Core\Entity\Express\Entry;
use Concrete\Core\Entity\Express\Form;
use Concrete\Core\Error\ErrorList\ErrorList;

interface RoutineInterface
{

    /**
     * @return bool
     */
    function validate(ErrorList $error, Form $form, ?Entry $entry = null);


}