Created
April 8, 2013 11:01
-
-
Save bazo/5335955 to your computer and use it in GitHub Desktop.
factory error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
embeddedMedia: | |
class: Components\EmbeddedMedia | |
implement: Components\IEmbeddedMediaFactory | |
arguments: [%snippet%] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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