Skip to content

Instantly share code, notes, and snippets.

@nyeholt
Created February 28, 2013 23:25
Show Gist options
  • Save nyeholt/5061060 to your computer and use it in GitHub Desktop.
Save nyeholt/5061060 to your computer and use it in GitHub Desktop.
Injector:
S3Service:
constructor:
- kidding
- right?
S3ContentReader:
type: prototype
properties:
s3service: %$S3Service
bucket: kfc
S3ContentWriter:
type: prototype
properties:
s3service: %$S3Service
bucket: kfc
HaylixService:
class: CloudStorage
constructor:
- haha
- not
- telling
HaylixContentWriter:
type: prototype
properties:
haylix: %$HaylixService
HaylixContentReader:
type: prototype
properties:
haylix: %$HaylixService
ContentService:
properties:
stores:
File:
ContentReader: FileContentReader
ContentWriter: FileContentWriter
Haylix:
ContentReader: HaylixContentReader
ContentWriter: HaylixContentWriter
S3:
ContentReader: S3ContentReader
ContentWriter: S3ContentWriter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment