File: MagicClass.php

package info (click to toggle)
php-zumba-json-serializer 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: php: 1,082; xml: 20; makefile: 13; sh: 7
file content (21 lines) | stat: -rw-r--r-- 303 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
<?php

namespace Zumba\JsonSerializer\Test\SupportClasses;

class MagicClass
{

    public $show = true;
    public $hide = true;
    public $woke = false;

    public function __sleep()
    {
        return array('show');
    }

    public function __wakeup()
    {
        $this->woke = true;
    }
}