Overview

Namespaces

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

Classes

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

Class TweetRepository

TweetRepository.

This class was generated by the Doctrine ORM. Add your own custom repository methods below.

Doctrine\ORM\EntityRepository
Extended by AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\TweetRepository
Namespace: AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity
Located at TweetRepository.php
Methods summary
public
# getWithUsers( $page = 1 )
public
# getWithUsersAndMedias( $firstTweetId = null )
public
# getPreviousTweetId( $tweetId )
public
# getNextTweetId( $tweetId )
public
# countPendingTweets( $lastTweetId = null )
public
# getLastTweet( )
protected integer
# removeTweet( AlexisLefebvre\Bundle\AsyncTweetsBundle\Entity\Tweet $tweet )

Remove the tweet and return 1 is the deleted tweet is not a retweet.

Remove the tweet and return 1 is the deleted tweet is not a retweet.

Parameters

$tweet

Returns

integer
public integer
# deleteAndHideTweetsLessThanId( integer $tweetId )

Delete tweets and return the number of deleted tweets (excluding retweeted-only tweets).

Delete tweets and return the number of deleted tweets (excluding retweeted-only tweets).

Parameters

$tweetId

Returns

integer
AsyncTweetsBundle API documentation generated by ApiGen