Created
September 20, 2013 13:42
-
-
Save oaltman/6637737 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getUnpublished() | |
{ | |
$qb = $this->createQueryBuilder(); | |
$query = $qb->select(array('thumbnail','show')) | |
->from('\App\Thumbnail\Thumbnail','thumbnail') | |
->from('\App\Cropper\Image','image') | |
->from('\App\Entity\Content\Show', 'show') | |
->where('show.image = image') | |
->andWhere('thumbnail.image = image') | |
->getQuery(); | |
return $query->execute(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment