src/Sulu/Bundle/CategoryBundle/Api/Category.php
public function getMeta()
    {
        $arrReturn = [];
        if (null !== $this->entity->getMeta()) {
            foreach ($this->entity->getMeta() as $meta) {
                if (!$meta->getLocale() || $meta->getLocale() === $this->locale) {
                    array_push(
                        $arrReturn,
                        [
                            'id' => $meta->getId(),
                            'key' => $meta->getKey(),
                            'value' => $meta->getValue(),
                        ]
                    );
                }
            }

            return $arrReturn;
        }

        return;
    }
public function getMeta()
    {
        $arrReturn = [];
        if (null !== $this->entity->getMeta()) {
            foreach ($this->entity->getMeta() as $meta) {
                if (!$meta->getLocale() || $meta->getLocale() === $this->locale) {
                    array_push(
                        $arrReturn,
                        [
                            'id' => $meta->getId(),
                            'key' => $meta->getKey(),
                            'value' => $meta->getValue(),
                        ]
                    );
                }
            }

            return $arrReturn;
        }

        return;
    }
public function getMeta ( ) { $ arrReturn = [ ] ; if ( null !== $ this -> entity -> getMeta ( ) ) { foreach ( $ this -> entity -> getMeta ( ) as $ meta ) { if ( ! $ meta -> getLocale ( ) || $ meta -> getLocale ( ) === $ this -> locale ) { array_push ( $ arrReturn , [ 'id' => $ meta -> getId ( ) , 'key' => $ meta -> getKey ( ) , 'value' => $ meta -> getValue ( ) , ] ) ; } } return $ arrReturn ; } return ; }
Returns the name of the Category dependent on the locale.

@VirtualProperty
@SerializedName("meta")
@Groups({"fullCategory","partialCategory"})

@return array
Returns the name of the Category dependent on the locale .