Check if the given $propertyName should be skipped during mapping.
public shouldSkip ( string $propertyName ) : boolean | ||
$propertyName | string | |
return | boolean |
/** * @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')); }