Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested types #27

Open
ghost opened this issue Jun 6, 2012 · 0 comments
Open

Nested types #27

ghost opened this issue Jun 6, 2012 · 0 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Jun 6, 2012

I would like to nest types.

I now have four types for a Gallery; Gallery, GalleryItem, GalleryPhotoItem and GalleryVideoItem. I'm inheriting the GalleryPhotoItem and GalleryVideoItem from the GalleryItem. These types cannot function without the GalleryItem. Therefore I would like to nest them within the GalleryItem.

Gallery
GalleryItem

  • Video(Item)
  • Photo(Item)
@ghost ghost assigned devatwork Jun 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant