/** * Return the description of a {@link Hamcrest_SelfDescribing} object as a * String. * * @param Hamcrest_SelfDescribing $selfDescribing * The object to be described. * * @return string * The description of the object. */ public static function toString(Hamcrest_SelfDescribing $selfDescribing) { $self = new self(); return (string) $self->appendDescriptionOf($selfDescribing); }