2b41d5f3db
Provide current validation group for recursive SettingsValidator. Adjust test. Provide configuration to outline the issue.
33 lines
548 B
PHP
33 lines
548 B
PHP
<?php
|
|
namespace DigiComp\SettingValidator\Tests\Functional\Fixtures;
|
|
|
|
use Neos\Flow\Annotations as Flow;
|
|
|
|
class TestValidationGroupsCustomObject
|
|
{
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $shouldBeTrue = false;
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $shouldBeFalse = true;
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function isShouldBeTrue(): bool
|
|
{
|
|
return $this->shouldBeTrue;
|
|
}
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function isShouldBeFalse(): bool
|
|
{
|
|
return $this->shouldBeFalse;
|
|
}
|
|
}
|