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

« back to all changes in this revision

Viewing changes to tests/Doctrine/Tests/Common/Proxy/MagicSleepClass.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 MagicSleepClass
 
9
{
 
10
    /**
 
11
     * @var string
 
12
     */
 
13
    public $id = 'id';
 
14
 
 
15
    /**
 
16
     * @var string
 
17
     */
 
18
    public $publicField = 'publicField';
 
19
 
 
20
    /**
 
21
     * @var string
 
22
     */
 
23
    public $serializedField = 'defaultValue';
 
24
 
 
25
    /**
 
26
     * @var string
 
27
     */
 
28
    public $nonSerializedField = 'defaultValue';
 
29
 
 
30
    /**
 
31
     * @return array
 
32
     */
 
33
    public function __sleep()
 
34
    {
 
35
        return array('serializedField');
 
36
    }
 
37
}