aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/EntityInterface.php
blob: 7c6a9d9a1af05651c2dcc290d273cb949b958769 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
namespace ORM;

interface EntityInterface {
	public function get(string $attribute);
	public function set(string $attribute, $value): void;

	public function getID(): int;
	public function getAll(array $exclude = []): array;
	public function getModifiedKeys(): array;
}