public function getProperties($requestedProperties)
    {
        $response = [];

        foreach ($this->calendarInfo as $propName => $propValue) {
            if (!is_null($propValue) && '{' === $propName[0]) {
                $response[$propName] = $this->calendarInfo[$propName];
            }
        }

        return $response;
    }
public function getProperties($requestedProperties)
    {
        $response = [];

        foreach ($this->calendarInfo as $propName => $propValue) {
            if (!is_null($propValue) && '{' === $propName[0]) {
                $response[$propName] = $this->calendarInfo[$propName];
            }
        }

        return $response;
    }
public function getProperties ( $ requestedProperties ) { $ response = [ ] ; foreach ( $ this -> calendarInfo as $ propName => $ propValue ) { if ( ! is_null ( $ propValue ) && '{' === $ propName [ 0 ] ) { $ response [ $ propName ] = $ this -> calendarInfo [ $ propName ] ; } } return $ response ; }
Returns the list of properties.

@param array $requestedProperties

@return array
Returns the list of properties .