X

Create New Item

File Folder

X

Search Results

File "CountValidatorInterface.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/mockery/mockery/library/Mockery/CountValidator/CountValidatorInterface.php
File size: 412 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

namespace Mockery\CountValidator;

interface CountValidatorInterface
{
    /**
     * Checks if the validator can accept an additional nth call
     *
     * @param int $n
     *
     * @return bool
     */
    public function isEligible($n);

    /**
     * Validate the call count against this validator
     *
     * @param int $n
     *
     * @return bool
     */
    public function validate($n);
}