| @@ 141-163 (lines=23) @@ | ||
| 138 | * @param HtmlBuilder $html |
|
| 139 | * @param UrlGenerator $url |
|
| 140 | */ |
|
| 141 | public function __construct( |
|
| 142 | Application $application, |
|
| 143 | ThemeCollection $themes, |
|
| 144 | MountManager $manager, |
|
| 145 | AssetParser $parser, |
|
| 146 | Repository $config, |
|
| 147 | Filesystem $files, |
|
| 148 | AssetPaths $paths, |
|
| 149 | Request $request, |
|
| 150 | HtmlBuilder $html, |
|
| 151 | UrlGenerator $url |
|
| 152 | ) { |
|
| 153 | $this->url = $url; |
|
| 154 | $this->html = $html; |
|
| 155 | $this->files = $files; |
|
| 156 | $this->paths = $paths; |
|
| 157 | $this->config = $config; |
|
| 158 | $this->themes = $themes; |
|
| 159 | $this->parser = $parser; |
|
| 160 | $this->manager = $manager; |
|
| 161 | $this->request = $request; |
|
| 162 | $this->application = $application; |
|
| 163 | } |
|
| 164 | ||
| 165 | /** |
|
| 166 | * Add an asset or glob pattern to an asset collection. |
|
| @@ 226-246 (lines=21) @@ | ||
| 223 | * @param ImagePaths $paths |
|
| 224 | * @param ImageMacros $macros |
|
| 225 | */ |
|
| 226 | public function __construct( |
|
| 227 | UrlGenerator $url, |
|
| 228 | HtmlBuilder $html, |
|
| 229 | Filesystem $files, |
|
| 230 | Mobile_Detect $agent, |
|
| 231 | Repository $config, |
|
| 232 | ImageManager $manager, |
|
| 233 | Application $application, |
|
| 234 | ImagePaths $paths, |
|
| 235 | ImageMacros $macros |
|
| 236 | ) { |
|
| 237 | $this->url = $url; |
|
| 238 | $this->html = $html; |
|
| 239 | $this->files = $files; |
|
| 240 | $this->agent = $agent; |
|
| 241 | $this->paths = $paths; |
|
| 242 | $this->config = $config; |
|
| 243 | $this->macros = $macros; |
|
| 244 | $this->manager = $manager; |
|
| 245 | $this->application = $application; |
|
| 246 | } |
|
| 247 | ||
| 248 | /** |
|
| 249 | * Make a new image instance. |
|