for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NamespaceProtector\Entry;
use Webmozart\Assert\Assert;
final class Entry {
/** @var string */
private $entry;
private $originalEntry;
public function __construct(string $entry)
{
Assert::notEmpty($entry);
$this->originalEntry = $entry;
$this->entry = $entry;
}
public function equalTo(self $other): bool
return $this == $other;
public function get(): string
return $this->entry;