added abstract basestructure class above all callback structures

This commit is contained in:
kremsy
2017-03-22 18:31:53 +01:00
parent a1373b4e7c
commit 4ab3bf7650
3 changed files with 30 additions and 5 deletions

View File

@ -0,0 +1,25 @@
<?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 22. Mär. 2017
* Time: 18:26
*/
namespace ManiaControl\Callbacks\Structures;
use ManiaControl\ManiaControl;
abstract class BaseStructure {
/** @var ManiaControl $maniaControl */
protected $maniaControl;
/**
* Var_Dump the Structure
*/
public function dump() {
var_dump(json_decode(json_encode($this)));
}
}