Skip to content

Instantly share code, notes, and snippets.

@bazo
Created April 8, 2013 11:01
Show Gist options
  • Save bazo/5335955 to your computer and use it in GitHub Desktop.
Save bazo/5335955 to your computer and use it in GitHub Desktop.
factory error
embeddedMedia:
class: Components\EmbeddedMedia
implement: Components\IEmbeddedMediaFactory
arguments: [%snippet%]
<?php
namespace Components;
use Design\Snippets\MultimediaEmbedSnippet;
use Nette\Application\Application;
/**
* IEmbeddedmediaFactory
*/
interface IEmbeddedMediaFactory {
/** @return EmbeddedMedia */
public function create(MultimediaEmbedSnippet $snippet);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment