protected convert ( $nodePath, |
||
$nodePath | ||
$propertyMappingConfiguration | ||
Результат | Neos\ContentRepository\Domain\Model\NodeInterface |
protected function convert($nodePath, PropertyMappingConfiguration $propertyMappingConfiguration = null)
{
$nodeConverter = new NodeConverter();
$result = $nodeConverter->convertFrom($nodePath, null, array(), $propertyMappingConfiguration);
if ($result instanceof Error) {
$this->fail('Failed with error: ' . $result->getMessage());
}
return $result;
}