engelsystem/tests/Unit/Http/Validation/Rules/Stub/ParentClassImplementation.php

20 lines
342 B
PHP
Raw Normal View History

<?php
namespace Engelsystem\Test\Unit\Http\Validation\Rules\Stub;
class ParentClassImplementation
{
/** @var bool */
public $validateResult = true;
/** @var mixed */
public $lastInput;
public function validate(mixed $input): bool
{
$this->lastInput = $input;
return $this->validateResult;
}
}