public function getNonSkippedProperties(ClassMetadata $metadata): array
    {
        $this->assertInitialized();

        /** @var PropertyMetadata[] $properties */
        $properties = $metadata->getAttributesMetadata();

        return \array_filter($properties, [$this, 'filterPropertyMetadata']);
    }
public function getNonSkippedProperties(ClassMetadata $metadata): array
    {
        $this->assertInitialized();

        /** @var PropertyMetadata[] $properties */
        $properties = $metadata->getAttributesMetadata();

        return \array_filter($properties, [$this, 'filterPropertyMetadata']);
    }
public function getNonSkippedProperties ( ClassMetadata $ metadata ) : array { $ this -> assertInitialized ( ) ; /** @var PropertyMetadata[] $properties */ $ properties = $ metadata -> getAttributesMetadata ( ) ; return \ array_filter ( $ properties , [ $ this , 'filterPropertyMetadata' ] ) ; }
Get the array of properties that should be serialized in an object.

@param ClassMetadata $metadata

@return PropertyMetadata[]
Get the array of properties that should be serialized in an object .