public function transform($data)
    {
        if (!is_null($data)) {
            return array($this->formTypeName => $this->entityDbMapper->fromDbToEntity($data)->getId());
        }

        return null;
    }
public function transform($data)
    {
        if (!is_null($data)) {
            return array($this->formTypeName => $this->entityDbMapper->fromDbToEntity($data)->getId());
        }

        return null;
    }
public function transform ( $ data ) { if ( ! is_null ( $ data ) ) { return array ( $ this -> formTypeName => $ this -> entityDbMapper -> fromDbToEntity ( $ data ) -> getId ( ) ) ; } return null ; }
Take a embed document array representation to return associative array formType id

@param array $data

@return array|null
Take a embed document array representation to return associative array formType id