public skipProperties ( ) : |
||
return | this |
public function skipProperties()
{
foreach (func_get_args() as $propertyName) {
$this->propertiesToSkip[$propertyName] = $propertyName;
}
return $this;
}
/** * @test * @covers \Neos\Flow\Property\PropertyMappingConfiguration::shouldSkip */ public function shouldSkipReturnsTrueIfConfigured() { $this->propertyMappingConfiguration->skipProperties('someSourceProperty', 'someOtherSourceProperty'); $this->assertTrue($this->propertyMappingConfiguration->shouldSkip('someSourceProperty')); $this->assertTrue($this->propertyMappingConfiguration->shouldSkip('someOtherSourceProperty')); }