Lines Matching refs:fetcher
8 * Static class of the fetcher system
31 foreach ($fetchers as $fetcher) {
33 * @var IFetcherPath $fetcher
35 if ($fetcher->getFetcherName() === $fetcherName) {
36 $fetcher->buildFromUrl($fetchUrl);
37 return $fetcher;
41 // no fetcher property
49 throw new ExceptionNotFound("No fetcher could be matched to the url ($fetchUrl)");
54 throw new ExceptionNotFound("No fetcher could be created. The mime is unknown for the path ($dokuPath). Error: {$e->getMessage()}");
71 * @throws ExceptionNotFound - if the fetcher is unknown
72 * @throws ExceptionBadArgument - if the fetcher is not set
80 throw new ExceptionBadArgument("No fetcher name found");
87 foreach ($fetchers as $fetcher) {
89 * @var IFetcherString $fetcher
91 if ($fetcher->getFetcherName() === $fetcherName) {
92 $fetcher->buildFromUrl($fetchUrl);
93 return $fetcher;
96 throw new ExceptionNotFound("No fetcher found with the name ($fetcherName)");