~ubuntu-branches/ubuntu/wily/php-doctrine-common/wily-proposed

« back to all changes in this revision

Viewing changes to tests/Doctrine/Tests/Common/Proxy/SerializedClass.php

  • Committer: Package Import Robot
  • Author(s): David Prévot
  • Date: 2014-06-15 11:26:00 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20140615112600-sg4mgpwq9sfg4mre
Tags: 2.4.2-2
* Upload to unstable
* No tests if DEB_BUILD_OPTIONS contains nocheck

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
namespace Doctrine\Tests\Common\Proxy;
 
4
 
 
5
/**
 
6
 * Test asset class
 
7
 */
 
8
class SerializedClass
 
9
{
 
10
    /**
 
11
     * @var mixed
 
12
     */
 
13
    private $foo = 'foo';
 
14
 
 
15
    /**
 
16
     * @var mixed
 
17
     */
 
18
    protected $bar = 'bar';
 
19
 
 
20
    /**
 
21
     * @var mixed
 
22
     */
 
23
    public $baz = 'baz';
 
24
 
 
25
    /**
 
26
     * @param mixed $foo
 
27
     */
 
28
    public function setFoo($foo)
 
29
    {
 
30
        $this->foo = $foo;
 
31
    }
 
32
 
 
33
    /**
 
34
     * @return mixed|string
 
35
     */
 
36
    public function getFoo()
 
37
    {
 
38
        return $this->foo;
 
39
    }
 
40
 
 
41
    /**
 
42
     * @param $bar
 
43
     */
 
44
    public function setBar($bar)
 
45
    {
 
46
        $this->bar = $bar;
 
47
    }
 
48
 
 
49
    /**
 
50
     * @return mixed|string
 
51
     */
 
52
    public function getBar()
 
53
    {
 
54
        return $this->bar;
 
55
    }
 
56
 
 
57
    /**
 
58
     * @param $baz
 
59
     */
 
60
    public function setBaz($baz)
 
61
    {
 
62
        $this->baz = $baz;
 
63
    }
 
64
 
 
65
    /**
 
66
     * @return mixed|string
 
67
     */
 
68
    public function getBaz()
 
69
    {
 
70
        return $this->baz;
 
71
    }
 
72
}