for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Apie\MockObjects;
use Apie\ValueObjects\StringTrait;
use Apie\ValueObjects\ValueObjectInterface;
class ValueObject implements ValueObjectInterface
{
use StringTrait;
protected function validValue(string $value): bool
return $value !== '';
}
protected function sanitizeValue(string $value): string
return $value;