added php class interface