Completed
Push — master ( e91698...cc2c1e )
by Renato
07:19
created

IteratorFile   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
c 2
b 1
f 0
dl 0
loc 12
rs 10
ccs 0
cts 0
cp 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
    public function makeCurrent()
16
    {
17
        return $this->getLine();
18
    }
19
}
20