Completed
Push — master ( 5a368b...ae817e )
by Saulius
01:53
created

ImmutableArrayCollection::unserialize()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
/**
3
 * This file is part of the sauls/collections package.
4
 *
5
 * @author    Saulius Vaičeliūnas <[email protected]>
6
 * @link      http://saulius.vaiceliunas.lt
7
 * @copyright 2018
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Sauls\Component\Collection;
14
15
use Sauls\Component\Collection\Exception\UnsupportedOperationException;
16
17
class ImmutableArrayCollection extends ArrayCollection
18
{
19
    /**
20
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
21
     */
22
    public function set($key, $value): void
23
    {
24
        throw new UnsupportedOperationException();
25
    }
26
27
    /**
28
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
29
     */
30
    public function add(array $elements): void
31
    {
32
        throw new UnsupportedOperationException();
33
    }
34
35
    /**
36
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
37
     */
38
    public function merge(array $elements): void
39
    {
40
        throw new UnsupportedOperationException();
41
    }
42
43
    /**
44
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
45
     */
46
    public function replace(array $elements): void
47
    {
48
        throw new UnsupportedOperationException();
49
    }
50
51
    /**
52
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
53
     */
54
    public function clear(): void
55
    {
56
        throw new UnsupportedOperationException();
57
    }
58
59
    /**
60
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
61
     */
62
    public function removeKey($key)
63
    {
64
        throw new UnsupportedOperationException();
65
    }
66
67
    /**
68
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
69
     */
70
    public function removeValue($element)
71
    {
72
        throw new UnsupportedOperationException();
73
    }
74
75
    /**
76
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
77
     */
78
    public function unserialize($value): void
79
    {
80
        throw new UnsupportedOperationException();
81
    }
82
83
    /**
84
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
85
     */
86
    public function map(\Closure $function)
87
    {
88
        throw new UnsupportedOperationException();
89
    }
90
91
    /**
92
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
93
     */
94
    public function offsetSet($offset, $value)
95
    {
96
        throw new UnsupportedOperationException();
97
    }
98
99
    /**
100
     * @throws \Sauls\Component\Collection\Exception\UnsupportedOperationException
101
     */
102
    public function offsetUnset($offset)
103
    {
104
        throw new UnsupportedOperationException();
105
    }
106
}
107