A RemoteStringLoader implementation that will fetch the string from a
remote location and then use StringLoader by composition.

Alex

On Mon, Nov 26, 2018 at 3:57 PM Woody Gilk <woody.g...@gmail.com> wrote:

> On Mon, Nov 26, 2018 at 6:56 AM Marcos Passos <marcospassos....@gmail.com>
> wrote:
>
>> Think about a loader interface, that can throw a LoadingException. A
>> StringLoader will never throw an exception, and any class tightly coupled
>> to it should not care about LoadingException.
>>
>
> In what situation would you have code tightly coupled to the
> implementation instead of the interface?
>
> --
> Woody Gilk
> https://shadowhand.me
>
> --
> You received this message because you are subscribed to the Google Groups
> "PHP Framework Interoperability Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to php-fig+unsubscr...@googlegroups.com.
> To post to this group, send email to php-fig@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/php-fig/CAGOJM6JABnTv0%3DO4OCGNUMs_2YPR4pxe%3DBXg1j5%2B2ayNWHgBZg%40mail.gmail.com
> <https://groups.google.com/d/msgid/php-fig/CAGOJM6JABnTv0%3DO4OCGNUMs_2YPR4pxe%3DBXg1j5%2B2ayNWHgBZg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To post to this group, send email to php-fig@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/CAAwdEzDXSt7DxNJYDzmA8bTv5nnxxL2jmdOHR2pdXUj2qSbiow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to