Change offsetGet for ArrayAccess of entity

Used methods instead of properties