Вход Регистрация
Файл: gapps/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Description.php
Строк: 68
<?php
namespace Hamcrest;

/*
 Copyright (c) 2009 hamcrest.org
 */

/**
 * A description of a Matcher. A Matcher will describe itself to a description
 * which can later be used for reporting.
 *
 * @see HamcrestMatcher::describeTo()
 */
interface Description
{

    
/**
     * Appends some plain text to the description.
     *
     * @param string $text
     *
     * @return HamcrestDescription
     */
    
public function appendText($text);

    
/**
     * Appends the description of a {@link HamcrestSelfDescribing} value to
     * this description.
     *
     * @param HamcrestSelfDescribing $value
     *
     * @return HamcrestDescription
     */
    
public function appendDescriptionOf(SelfDescribing $value);

    
/**
     * Appends an arbitary value to the description.
     *
     * @param mixed $value
     *
     * @return HamcrestDescription
     */
    
public function appendValue($value);

    
/**
     * Appends a list of values to the description.
     *
     * @param string $start
     * @param string $separator
     * @param string $end
     * @param array|IteratorAggregate|Iterator $values
     *
     * @return HamcrestDescription
     */
    
public function appendValueList($start$separator$end$values);

    
/**
     * Appends a list of {@link HamcrestSelfDescribing} objects to the
     * description.
     *
     * @param string $start
     * @param string $separator
     * @param string $end
     * @param array|\IteratorAggregate|\Iterator $values
     *   must be instances of {@link HamcrestSelfDescribing}
     *
     * @return HamcrestDescription
     */
    
public function appendList($start$separator$end$values);
}
Онлайн: 3
Реклама