Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Doctrine\DBAL\Driver\Middleware;
4
 
5
use Doctrine\DBAL\Driver\Result;
6
 
7
abstract class AbstractResultMiddleware implements Result
8
{
9
    private Result $wrappedResult;
10
 
11
    public function __construct(Result $result)
12
    {
13
        $this->wrappedResult = $result;
14
    }
15
 
16
    /**
17
     * {@inheritdoc}
18
     */
19
    public function fetchNumeric()
20
    {
21
        return $this->wrappedResult->fetchNumeric();
22
    }
23
 
24
    /**
25
     * {@inheritdoc}
26
     */
27
    public function fetchAssociative()
28
    {
29
        return $this->wrappedResult->fetchAssociative();
30
    }
31
 
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function fetchOne()
36
    {
37
        return $this->wrappedResult->fetchOne();
38
    }
39
 
40
    /**
41
     * {@inheritdoc}
42
     */
43
    public function fetchAllNumeric(): array
44
    {
45
        return $this->wrappedResult->fetchAllNumeric();
46
    }
47
 
48
    /**
49
     * {@inheritdoc}
50
     */
51
    public function fetchAllAssociative(): array
52
    {
53
        return $this->wrappedResult->fetchAllAssociative();
54
    }
55
 
56
    /**
57
     * {@inheritdoc}
58
     */
59
    public function fetchFirstColumn(): array
60
    {
61
        return $this->wrappedResult->fetchFirstColumn();
62
    }
63
 
64
    public function rowCount(): int
65
    {
66
        return $this->wrappedResult->rowCount();
67
    }
68
 
69
    public function columnCount(): int
70
    {
71
        return $this->wrappedResult->columnCount();
72
    }
73
 
74
    public function free(): void
75
    {
76
        $this->wrappedResult->free();
77
    }
78
}