src/Sulu/Component/Content/Extension/AbstractExtension.php
protected function saveProperty(NodeInterface $node, $data, $name, $default = '')
    {
        $value = isset($data[$name]) ? $data[$name] : $default;
        $node->setProperty($this->getPropertyName($name), $value);
    }
protected function saveProperty(NodeInterface $node, $data, $name, $default = '')
    {
        $value = isset($data[$name]) ? $data[$name] : $default;
        $node->setProperty($this->getPropertyName($name), $value);
    }
protected function saveProperty ( NodeInterface $ node , $ data , $ name , $ default = '' ) { $ value = isset ( $ data [ $ name ] ) ? $ data [ $ name ] : $ default ; $ node -> setProperty ( $ this -> getPropertyName ( $ name ) , $ value ) ; }
save a single property value.

@param NodeInterface $node
@param array $data data array
@param string $name name of property in node an data array
@param string $default value if no data exists with given name
@param string $default
save a single property value .