1: <?php declare(strict_types=1);
2:
3: namespace Salient\Core\Concern;
4:
5: /**
6: * Extends HasReadableProperties to read all protected properties by default
7: *
8: * @see HasReadableProperties
9: */
10: trait ReadsProtectedProperties
11: {
12: use HasReadableProperties;
13:
14: public static function getReadableProperties(): array
15: {
16: return ['*'];
17: }
18: }
19: