mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 16:27:23 +01:00
22 lines
390 B
PHP
22 lines
390 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Support;
|
|
|
|
final readonly class Description implements \Stringable
|
|
{
|
|
/**
|
|
* Creates a new Description instance.
|
|
*/
|
|
public function __construct(private string $description) {}
|
|
|
|
/**
|
|
* Returns the description as a string.
|
|
*/
|
|
public function __toString(): string
|
|
{
|
|
return $this->description;
|
|
}
|
|
}
|