robrichards / xmlseclibs

A PHP library for XML Security
BSD 3-Clause "New" or "Revised" License
387 stars 181 forks source link

XMLSecurityDSig::add509Cert #173

Open humbe1985 opened 6 years ago

humbe1985 commented 6 years ago

I need to rewrite the static function staticAdd509Cert, but this is called by add509Cert function using self::staticAdd509Cert, in this case i replace self for static, because i need the instance of the class who is calling the function, it's possible to change this? Thanks

robrichards commented 6 years ago

Why not just create a subclass and use that?