Issues (47)

lib/Result.php (3 issues)

1
<?php
2
/**
3
 * User: Maike Oliveira
4
 * Date: 24/10/17
5
 * Time: 09:03
6
 */
7
8
namespace MocOrm\Model;
9
10
use MocOrm\Support\Log;
11
12
class Result
13
{
14
    /**
15
     * @var $last_function Last function execute on ORM
0 ignored issues
show
Documentation Bug introduced by
The doc comment $last_function at position 0 could not be parsed: Unknown type name '$last_function' at position 0 in $last_function.
Loading history...
16
     */
17
    private $last_function;
18
    /**
19
     * @var $results Last result orm
0 ignored issues
show
Documentation Bug introduced by
The doc comment $results at position 0 could not be parsed: Unknown type name '$results' at position 0 in $results.
Loading history...
20
     */
21
    private $results;
22
    /**
23
     * @var Log
24
     */
25
    private $Log;
0 ignored issues
show
The private property $Log is not used, and could be removed.
Loading history...
26
27
    public function __construct()
28
    {
29
//        $this->Log = new Log;
30
    }
31
32
    /**
33
     * @return mixed
34
     */
35
    public function getLastFunction()
36
    {
37
        return $this->last_function;
38
    }
39
40
    /**
41
     * @param mixed $last_function
42
     */
43
    public function setLastFunction($last_function)
44
    {
45
        $this->last_function = $last_function;
46
    }
47
48
    /**
49
     * @return mixed
50
     */
51
    public function getResults()
52
    {
53
        return $this->results;
54
    }
55
56
    /**
57
     * @param mixed $results
58
     */
59
    public function setResults($results)
60
    {
61
        $this->results = $results;
62
    }
63
}