| Total Complexity | 3 | 
| Total Lines | 43 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 19 | class DefaultSerializationExclusionData implements SerializationExclusionData | ||
| 20 | { | ||
| 21 | /** | ||
| 22 | * The object that's currently being serialized | ||
| 23 | * | ||
| 24 | * @var object | ||
| 25 | */ | ||
| 26 | private $objectToSerialize; | ||
| 27 | /** | ||
| 28 | * @var WriterContext | ||
| 29 | */ | ||
| 30 | private $context; | ||
| 31 | |||
| 32 | /** | ||
| 33 | * Constructor | ||
| 34 | * | ||
| 35 | * @param object $objectToSerialize | ||
| 36 | * @param WriterContext $context | ||
| 37 | */ | ||
| 38 | public function __construct($objectToSerialize, WriterContext $context) | ||
| 42 | } | ||
| 43 | 2 | ||
| 44 | 2 | /** | |
| 45 | 2 | * Get the object currently being serialized | |
| 46 | * | ||
| 47 | * @return object | ||
| 48 | */ | ||
| 49 | public function getObjectToSerialize() | ||
| 50 |     { | ||
| 51 | return $this->objectToSerialize; | ||
| 52 | 1 | } | |
| 53 | |||
| 54 | 1 | /** | |
| 55 | * Get the writer context | ||
| 56 | * | ||
| 57 | * @return WriterContext | ||
| 58 | */ | ||
| 59 | public function getContext(): WriterContext | ||
| 62 | 2 | } | |
| 63 | } | ||
| 64 |