private function getProperty(array $data, $key, $default = null)
    {
        return array_key_exists($key, $data) && $data[$key] !== null ? $data[$key] : $default;
    }
private function getProperty(array $data, $key, $default = null)
    {
        return array_key_exists($key, $data) && $data[$key] !== null ? $data[$key] : $default;
    }
private function getProperty ( array $ data , $ key , $ default = null ) { return array_key_exists ( $ key , $ data ) && $ data [ $ key ] !== null ? $ data [ $ key ] : $ default ; }
Returns the entry from the data with the given key, or the given default value, if the key does not exist
@param array $data
@param string $key
@param string $default
@return mixed
Returns the entry from the data with the given key or the given default value if the key does not exist