wouldn't it be faster to call the static method directly through ``$class::getAcceptedSnippetType()`` ? Such code works as of PHP 5.3: http://3v4l.org/huloT

This would avoid using Reflection altogether (checking the interface does not require Reflection, as done in the previous method).