to learn a library/framework i think the best way would be to use a class method and then see what code is executing in live.
then you see the method chain (input and output of each) and can also read the comments.
is there a such feature in any IDE or external application for php?