isAssignableFrom method added
updated phpdoc