IteratorFile   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 12
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A makeCurrent() 0 4 1
1
<?php
2
3
namespace NwLaravel\Iterators;
4
5
/**
6
 * Efetua a leitura de um arquivo, implementa o iterator para percorrer as linhas do arquivo
7
 */
8
class IteratorFile extends AbstractIteratorFile
9
{
10
    /**
11
     * Make Row Current
12
     *
13
     * @return string
14
     */
15 1
    public function makeCurrent()
16
    {
17 1
        return $this->getLine();
18
    }
19
}
20