Tweet.
public
__construct( $id = null )
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
setId( bigint $id )
Set id.
public integer
getId( )
Get id.
setCreatedAt( Datetime $createdAt )
Set created_at.
public DateTime
getCreatedAt( )
Get created_at.
setText( string $text )
Set text.
public string
getText( )
Get text.
getTextLinkified( )
setRetweetCount( integer $retweetCount )
Set retweet_count.
getRetweetCount( )
Get retweet_count.
setFavoriteCount( integer $favoriteCount )
Set favorite_count.
getFavoriteCount( )
Get favorite_count.
setUser( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\User $user )
AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\User
Set user.
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\User
getUser( )
Get User.
setInTimeline( boolean $inTimeline )
Set in timeline.
public boolean
isInTimeline( )
Get in timeline.
setRetweetedStatus( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet $retweetedStatus )
Set retweeted "This attribute contains a representation of the original Tweet that was retweeted.".
getRetweetedStatus( )
Get retweeted status.
public Doctrine\Common\Collections\ArrayCollection
getMedias( )
Get medias.
addMedia( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Media $media )
AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Media
Add a media.
removeMedia( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Media $media )
Remove a media.
getRetweetingStatuses( )
Get retweeting status.
setValues( stdClass $tweetTmp )
Call setter functions.
mustBeKept( integer $tweetId )
Check that tweet can be deleted.