maxonfjvipon / elegant-elephant

Elegant object oriented php primitives library
MIT License
10 stars 1 forks source link

Need object that can work with exceptions somehow #60

Open maxonfjvipon opened 1 year ago

maxonfjvipon commented 1 year ago

Something like this:

new ArrChecked(
  new SomeArr()
  new MyException()
);

This ArrChecked inside will wrap $this->origin->asArray() into try catch