src/Sulu/Component/Content/Repository/Content.php
public function getPropertyWithDefault($name, $default = null)
    {
        if (!array_key_exists($name, $this->data)) {
            return $default;
        }

        return $this->data[$name];
    }
public function getPropertyWithDefault($name, $default = null)
    {
        if (!array_key_exists($name, $this->data)) {
            return $default;
        }

        return $this->data[$name];
    }
public function getPropertyWithDefault ( $ name , $ default = null ) { if ( ! array_key_exists ( $ name , $ this -> data ) ) { return $ default ; } return $ this -> data [ $ name ] ; }
Returns value for given property or given default.

@param string $name
@param mixed $default

@return mixed
Returns value for given property or given default .