private function getLabels($annotations)
    {
        $it = $this->getAnnotations()->filter($annotations)
            ->is(Label::class)
            ->onProperties();
        $labels = [];
        foreach ($it as $annotation) {
            $labels[$annotation->getPropertyName()] = $annotation->value;
        }
        return $labels;
    }
private function getLabels($annotations)
    {
        $it = $this->getAnnotations()->filter($annotations)
            ->is(Label::class)
            ->onProperties();
        $labels = [];
        foreach ($it as $annotation) {
            $labels[$annotation->getPropertyName()] = $annotation->value;
        }
        return $labels;
    }
private function getLabels ( $ annotations ) { $ it = $ this -> getAnnotations ( ) -> filter ( $ annotations ) -> is ( Label :: class ) -> onProperties ( ) ; $ labels = [ ] ; foreach ( $ it as $ annotation ) { $ labels [ $ annotation -> getPropertyName ( ) ] = $ annotation -> value ; } return $ labels ; }
Gets property labels

@return array
Gets property labels