ModelBundle/Repository/ContentRepository.php
File ContentRepository.php
has 377 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace OpenOrchestra\ModelBundle\Repository;
use Doctrine\Common\Collections\Collection;
- Create a ticketCreate a ticket
ContentRepository
has 37 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ContentRepository extends AbstractAggregateRepository implements FieldAutoGenerableRepositoryInterface, ContentRepositoryInterface, KeywordableTraitInterface
{
use KeywordableTrait;
use UseTrackableTrait;
use FilterTrait;
- Create a ticketCreate a ticket
Method findByHistoryAndSiteId
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$id,
$siteId,
array $eventTypes = null,
$published = null,
$limit = null,
- Create a ticketCreate a ticket
Method countInContextByContentTypeSiteAndLanguage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function countInContextByContentTypeSiteAndLanguage($contentType, $siteId, $language, PaginateFinderConfiguration $configuration = null, array $searchTypes = array())
- Create a ticketCreate a ticket
Method countWithFilterAndContentTypeSiteAndLanguage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function countWithFilterAndContentTypeSiteAndLanguage(PaginateFinderConfiguration $configuration, $contentType, $siteId, $language, array $searchTypes = array())
- Create a ticketCreate a ticket
Method findByContentTypeAndCondition
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function findByContentTypeAndCondition($language, $contentType = '', $choiceType = self::CHOICE_AND, $condition = null, $siteId = null)
- Create a ticketCreate a ticket
Method findForPaginateFilterByContentTypeSiteAndLanguage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function findForPaginateFilterByContentTypeSiteAndLanguage(PaginateFinderConfiguration $configuration, $contentType, $siteId, $language, array $searchTypes = array())
- Create a ticketCreate a ticket