Renamed toArray method in EntityInterface to getArrayCopy to make it compatible with ArraySerializable hydrator
Fixed PSR2 coding styles
Fixed call to undefined method