feat: Entity::hasTrait
This commit is contained in:
parent
cc95512f39
commit
d257ea4161
|
@ -86,6 +86,10 @@ class Entity extends decorate(Resource) {
|
|||
return this;
|
||||
}
|
||||
|
||||
hasTrait(type) {
|
||||
return this.traits_PRIVATE.hasTrait(type);
|
||||
}
|
||||
|
||||
hydrate() {
|
||||
return this.traits_PRIVATE.hydrate();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user