|
@@ 90-96 (lines=7) @@
|
| 87 |
|
throw new \LogicException("Option 'depth' must contain an integer value"); |
| 88 |
|
} |
| 89 |
|
|
| 90 |
|
if (($skip = $input->getOption('skip')) !== null) { |
| 91 |
|
if ( ! is_numeric($skip)) { |
| 92 |
|
throw new \LogicException("Option 'skip' must contain an integer value"); |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
$qb->skip((int) $skip); |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
if (($limit = $input->getOption('limit')) !== null) { |
| 99 |
|
if ( ! is_numeric($limit)) { |
|
@@ 98-104 (lines=7) @@
|
| 95 |
|
$qb->skip((int) $skip); |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
if (($limit = $input->getOption('limit')) !== null) { |
| 99 |
|
if ( ! is_numeric($limit)) { |
| 100 |
|
throw new \LogicException("Option 'limit' must contain an integer value"); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
$qb->limit((int) $limit); |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
foreach ($qb->getQuery() as $result) { |
| 107 |
|
\Doctrine\Common\Util\Debug::dump($result, $depth); |