backup: live-stand vor erstem git-deployment

This commit is contained in:
2026-06-29 11:04:33 +02:00
commit 90368b8a29
699 changed files with 162032 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace DynCom\mysyde\common\traits;
/**
* Created by PhpStorm.
* User: Bauer
* Date: 16.07.2015
* Time: 12:55
*/
trait arrayGettableTrait
{
/**
* @return array
*/
protected function getAllFieldsAsArray() {
$ref = new \ReflectionClass($this);
$arr = [];
foreach ($ref->getProperties() as $property) {
$name = $property->name;
$arr[$name] = clone $this->$name;
}
return $arr;
}
}