You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this bundle for jobboard where the bundle will be setup to fetch jobs based on rss. At present I can see and persist the following information to the database
But I need more information like, city, country, etc.. (the rss feeds we will be fetching provide this information) so I have few questions
Do I need to create custom hydrator?
It is my understanding that inside the hydrator I should be able to access the details i need (city, state and country), if this is true then how do I access it?
For example inside DefaultHydrator I can see that you are doing the following $entity->setFeedItemTitle($entry->getTitle());
How do you know that you have access to $entry->getTitle() because when I var_dump$entry all i see is as following
Hi @eko,
I am trying to use this bundle for jobboard where the bundle will be setup to fetch jobs based on rss. At present I can see and persist the following information to the database
But I need more information like, city, country, etc.. (the rss feeds we will be fetching provide this information) so I have few questions
hydrator
?hydrator
I should be able to access the details i need (city, state and country), if this is true then how do I access it?For example inside
DefaultHydrator
I can see that you are doing the following$entity->setFeedItemTitle($entry->getTitle());
How do you know that you have access to
$entry->getTitle()
because when Ivar_dump
$entry
all i see is as followingI do not see any object here that gives access to
title
,content
orlink
and so on.So a bottom line is how do I see what all elements I have that I can pass to my Entity?
I hope my question is clear :)
The text was updated successfully, but these errors were encountered: