I want to know. I found this in Symfony2 TranslationLoader class:
public function addLoader($format, LoaderInterface $loader)
{
$this->loaders[$format] = $loader;
}
I found LoaderInterface
there is only one method. But how we know the realization of this interface ? This is Interface Injection ?