44 lines
699 B
PHP
44 lines
699 B
PHP
<?php
|
|
namespace Hamcrest;
|
|
|
|
/*
|
|
Copyright (c) 2009 hamcrest.org
|
|
*/
|
|
|
|
/**
|
|
* Null implementation of {@link Hamcrest\Description}.
|
|
*/
|
|
class NullDescription implements Description
|
|
{
|
|
|
|
public function appendText($text)
|
|
{
|
|
return $this;
|
|
}
|
|
|
|
public function appendDescriptionOf(SelfDescribing $value)
|
|
{
|
|
return $this;
|
|
}
|
|
|
|
public function appendValue($value)
|
|
{
|
|
return $this;
|
|
}
|
|
|
|
public function appendValueList($start, $separator, $end, $values)
|
|
{
|
|
return $this;
|
|
}
|
|
|
|
public function appendList($start, $separator, $end, $values)
|
|
{
|
|
return $this;
|
|
}
|
|
|
|
public function __toString()
|
|
{
|
|
return '';
|
|
}
|
|
}
|