private function getPoisFromMetadata() {
        $metadata = $this->event->getDatabase()->getMetadata(
            $this->image->getUser(),
            $this->image->getImageIdentifier()
        );

        return isset($metadata['poi']) ? $metadata['poi'] : [];
    }
private function getPoisFromMetadata() {
        $metadata = $this->event->getDatabase()->getMetadata(
            $this->image->getUser(),
            $this->image->getImageIdentifier()
        );

        return isset($metadata['poi']) ? $metadata['poi'] : [];
    }
private function getPoisFromMetadata ( ) { $ metadata = $ this -> event -> getDatabase ( ) -> getMetadata ( $ this -> image -> getUser ( ) , $ this -> image -> getImageIdentifier ( ) ) ; return isset ( $ metadata [ 'poi' ] ) ? $ metadata [ 'poi' ] : [ ] ; }
Fetch POIs from metadata for the image

@return array Array with POIs
Fetch POIs from metadata for the image