for php class