Closed charjr closed 1 year ago
Has many conflicts :/
I think it would also be worth writing some functional tests which test that the generated php code is valid eg
$sut = new Validator();
$code = $sut->__toPHP();
$result = eval($code);
self::assertEquals($sut, $result);
Work towards #80
merge https://github.com/membrane-php/membrane-core/pull/84 and https://github.com/membrane-php/membrane-core/pull/85 first
Filter, Validator interfaces now must have the
__toPHP()
method.