19 lines
299 B
PHP
19 lines
299 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Kiri\Inject\Validator\Inject;
|
||
|
|
|
||
|
|
#[\Attribute(\Attribute::TARGET_PROPERTY)]
|
||
|
|
class NotEmpty implements ValidatorInterface
|
||
|
|
{
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @param string $name
|
||
|
|
* @return bool
|
||
|
|
*/
|
||
|
|
public function dispatch(string $name): bool
|
||
|
|
{
|
||
|
|
// TODO: Implement dispatch() method.
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
}
|