component php class