src/PHPixie/Database/Driver/Mongo/Query/Item.php
Item
has 99 functions (exceeds 20 allowed). Consider refactoring. Open
Open
abstract class Item extends \PHPixie\Database\Driver\Mongo\Query
implements \PHPixie\Database\Driver\Mongo\Conditions\Builder
{
public function __construct($connection, $parser, $builder)
{
File Item.php
has 418 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace PHPixie\Database\Driver\Mongo\Query;
abstract class Item extends \PHPixie\Database\Driver\Mongo\Query
Method addContainerOperatorCondition
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function addContainerOperatorCondition($logic, $negate, $field, $operator, $values, $containerName = null)
Method addOperatorCondition
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function addOperatorCondition($logic, $negate, $field, $operator, $values)
Method addWhereOperatorCondition
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function addWhereOperatorCondition($logic, $negate, $field, $operator, $values)
Method addContainerInOperatorCondition
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function addContainerInOperatorCondition($field, $values, $logic, $negate, $containerName = null)
Method addContainerSubdocumentPlaceholder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function addContainerSubdocumentPlaceholder($field, $logic = 'and', $negate = false, $allowEmpty = true, $containerName = null)
Method addContainerSubarrayItemPlaceholder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function addContainerSubarrayItemPlaceholder($field, $logic = 'and', $negate = false, $allowEmpty = true, $containerName = null)