MagicSleepClass.php in Plug 7
Namespace
Doctrine\Tests\Common\ProxyFile
lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicSleepClass.phpView source
<?php
namespace Doctrine\Tests\Common\Proxy;
/**
* Test asset class
*/
class MagicSleepClass {
/**
* @var string
*/
public $id = 'id';
/**
* @var string
*/
public $publicField = 'publicField';
/**
* @var string
*/
public $serializedField = 'defaultValue';
/**
* @var string
*/
public $nonSerializedField = 'defaultValue';
/**
* @return array
*/
public function __sleep() {
return array(
'serializedField',
);
}
}
Classes
Name | Description |
---|---|
MagicSleepClass | Test asset class |