Ejemplo n.º 1
0
 public function countPhotosByListType($listType)
 {
     switch ($listType) {
         case 'latest':
         default:
             return (int) $this->photoDao->countAll();
     }
 }