23 lines
370 B
PHP
23 lines
370 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Kiri\Router\Validator\Inject;
|
|
|
|
use Kiri\Router\Interface\ValidatorInterface;
|
|
|
|
#[\Attribute(\Attribute::TARGET_PROPERTY)]
|
|
class Ignore implements ValidatorInterface
|
|
{
|
|
|
|
|
|
/**
|
|
* @param object $class
|
|
* @param string $name
|
|
* @return bool
|
|
*/
|
|
public function dispatch(object $class, string $name): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|