1<?php 2 3namespace ComboStrap; 4 5/** 6 * All fetcher that would answer an ajax call that returns a file 7 * should implement it 8 * TODO: The handler/fetcher should just get the {@link ExecutionContext} in a process function 9 * and pass the result (a string or a file or whatever) 10 * you get then a functional interface 11 */ 12interface IFetcherPath extends IFetcher 13{ 14 15 /** 16 * Return the local path of the resource 17 * (process it if needed and save it in the cache) 18 * @return LocalPath 19 */ 20 function getFetchPath(): LocalPath; 21 22} 23