2017-03-24 22:08:51 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace ManiaControl\General;
|
|
|
|
|
2017-03-26 12:56:44 +02:00
|
|
|
/**
|
|
|
|
* Class DumpTrait Trait for Implementing the Methods for the dumpable Interface
|
|
|
|
*
|
|
|
|
* @package ManiaControl\General
|
|
|
|
*/
|
2017-03-24 22:08:51 +01:00
|
|
|
trait DumpTrait {
|
|
|
|
/**
|
|
|
|
* Var_Dump Public Properties of the Object
|
|
|
|
*/
|
|
|
|
public function dump() {
|
|
|
|
var_dump(json_decode(json_encode($this)));
|
|
|
|
}
|
|
|
|
}
|