| @@ 139-161 (lines=23) @@ | ||
| 136 | * @param HtmlBuilder $html |
|
| 137 | * @param UrlGenerator $url |
|
| 138 | */ |
|
| 139 | public function __construct( |
|
| 140 | Application $application, |
|
| 141 | ThemeCollection $themes, |
|
| 142 | MountManager $manager, |
|
| 143 | AssetParser $parser, |
|
| 144 | Repository $config, |
|
| 145 | Filesystem $files, |
|
| 146 | AssetPaths $paths, |
|
| 147 | Request $request, |
|
| 148 | HtmlBuilder $html, |
|
| 149 | UrlGenerator $url |
|
| 150 | ) { |
|
| 151 | $this->url = $url; |
|
| 152 | $this->html = $html; |
|
| 153 | $this->files = $files; |
|
| 154 | $this->paths = $paths; |
|
| 155 | $this->config = $config; |
|
| 156 | $this->themes = $themes; |
|
| 157 | $this->parser = $parser; |
|
| 158 | $this->manager = $manager; |
|
| 159 | $this->request = $request; |
|
| 160 | $this->application = $application; |
|
| 161 | } |
|
| 162 | ||
| 163 | /** |
|
| 164 | * Add an asset or glob pattern to an asset collection. |
|
| @@ 249-271 (lines=23) @@ | ||
| 246 | * @param ImagePaths $paths |
|
| 247 | * @param ImageMacros $macros |
|
| 248 | */ |
|
| 249 | public function __construct( |
|
| 250 | UrlGenerator $url, |
|
| 251 | HtmlBuilder $html, |
|
| 252 | Filesystem $files, |
|
| 253 | Mobile_Detect $agent, |
|
| 254 | Repository $config, |
|
| 255 | ImageManager $manager, |
|
| 256 | Request $request, |
|
| 257 | Application $application, |
|
| 258 | ImagePaths $paths, |
|
| 259 | ImageMacros $macros |
|
| 260 | ) { |
|
| 261 | $this->url = $url; |
|
| 262 | $this->html = $html; |
|
| 263 | $this->files = $files; |
|
| 264 | $this->agent = $agent; |
|
| 265 | $this->paths = $paths; |
|
| 266 | $this->config = $config; |
|
| 267 | $this->macros = $macros; |
|
| 268 | $this->manager = $manager; |
|
| 269 | $this->request = $request; |
|
| 270 | $this->application = $application; |
|
| 271 | } |
|
| 272 | ||
| 273 | /** |
|
| 274 | * Make a new image instance. |
|