Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. class Field {
  2. protected $name;
  3. protected $value;
  4. }
  5.  
  6. class DropdownField extends Field {
  7. protected $options = [];
  8. // with functions like setOptions(), addOption(), removeOption() etc.
  9. }
  10.  
  11. namespace Integrations;
  12. class IntegrationsField extends BaseFormField {
  13. const LAYOUT_POSITION_LEFT = 'left';
  14. const LAYOUT_POSITION_RIGHT = 'right';
  15. protected $layoutPosition = self::LAYOUT_POSITION_LEFT;
  16. }
  17.  
  18. namespace Integrations;
  19. class IntegrationsDropdownField extends BaseFormDropdownField {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement