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; }