File: B.php

package info (click to toggle)
php-deepcopy 1.13.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 616 kB
  • sloc: php: 1,793; makefile: 26
file content (36 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php

namespace DeepCopy\f013;

use BadMethodCallException;
use Doctrine\Persistence\Proxy;

class B implements Proxy
{
    private $foo;

    /**
     * @inheritdoc
     */
    public function __load(): void
    {
    }

    /**
     * @inheritdoc
     */
    public function __isInitialized(): bool
    {
        throw new BadMethodCallException();
    }

    public function getFoo()
    {
        return $this->foo;
    }

    public function setFoo($foo)
    {
        $this->foo = $foo;
    }
}