Update README.md

php function and class names are not case insensitive,so if the method is defined as "api", the php will recognize it as constructor method, it also make user confused.
change 'api' method into 'some_method'