Overview

Namespaces

  • AlexisLefebvre
    • Bundle
      • AsyncTweetsBundle
        • Command
        • Controller
        • Entity
        • Utils

Classes

  • Media
  • Tweet
  • TweetRepository
  • User
  • Overview
  • Namespace
  • Class
  • Tree

Class Tweet

Tweet.

Namespace: AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity
Located at Tweet.php
Methods summary
public
# __construct( $id = null )
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setId( bigint $id )

Set id.

Set id.

Parameters

$id

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public integer
# getId( )

Get id.

Get id.

Returns

integer
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setCreatedAt( Datetime $createdAt )

Set created_at.

Set created_at.

Parameters

$createdAt

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public DateTime
# getCreatedAt( )

Get created_at.

Get created_at.

Returns

DateTime
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setText( string $text )

Set text.

Set text.

Parameters

$text

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public string
# getText( )

Get text.

Get text.

Returns

string
public
# getTextLinkified( )
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setRetweetCount( integer $retweetCount )

Set retweet_count.

Set retweet_count.

Parameters

$retweetCount

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public integer
# getRetweetCount( )

Get retweet_count.

Get retweet_count.

Returns

integer
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setFavoriteCount( integer $favoriteCount )

Set favorite_count.

Set favorite_count.

Parameters

$favoriteCount

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public integer
# getFavoriteCount( )

Get favorite_count.

Get favorite_count.

Returns

integer
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setUser( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\User $user )

Set user.

Set user.

Parameters

$user

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\User
# getUser( )

Get User.

Get User.

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\User
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setInTimeline( boolean $inTimeline )

Set in timeline.

Set in timeline.

Parameters

$inTimeline

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public boolean
# isInTimeline( )

Get in timeline.

Get in timeline.

Returns

boolean
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setRetweetedStatus( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet $retweetedStatus )

Set retweeted "This attribute contains a representation of the original Tweet that was retweeted.".

Set retweeted "This attribute contains a representation of the original Tweet that was retweeted.".

Parameters

$retweetedStatus

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# getRetweetedStatus( )

Get retweeted status.

Get retweeted status.

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public Doctrine\Common\Collections\ArrayCollection
# getMedias( )

Get medias.

Get medias.

Returns

Doctrine\Common\Collections\ArrayCollection
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# addMedia( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Media $media )

Add a media.

Add a media.

Parameters

$media

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# removeMedia( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Media $media )

Remove a media.

Remove a media.

Parameters

$media

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public Doctrine\Common\Collections\ArrayCollection
# getRetweetingStatuses( )

Get retweeting status.

Get retweeting status.

Returns

Doctrine\Common\Collections\ArrayCollection
public AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
# setValues( stdClass $tweetTmp )

Call setter functions.

Call setter functions.

Parameters

$tweetTmp

Returns

AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet
public boolean
# mustBeKept( integer $tweetId )

Check that tweet can be deleted.

Check that tweet can be deleted.

Parameters

$tweetId

Returns

boolean
AsyncTweetsBundle API documentation generated by ApiGen