-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Milestone
Description
Email
class currently does amethod_exists($transport, 'send')
check for transport instances. It would better if we can an interface for transport classes and check if the interface was implemented instead.
Line 1660 in 1cfebf6
if (!method_exists($className, 'send')) { |
- Also currently you can set
className
key to an object in transport config, which is a bit weird. I don't think we allow that for any other class name. So the possibility of doing so should be removed IMO.className
should always be a string.
Line 1635 in 1cfebf6
if (is_object($config['className'])) { |
dereuromark and burzum