| @@ 132-154 (lines=23) @@ | ||
| 129 | * @param HtmlBuilder $html |
|
| 130 | * @param UrlGenerator $url |
|
| 131 | */ |
|
| 132 | public function __construct( |
|
| 133 | Application $application, |
|
| 134 | ThemeCollection $themes, |
|
| 135 | MountManager $manager, |
|
| 136 | AssetParser $parser, |
|
| 137 | Repository $config, |
|
| 138 | Filesystem $files, |
|
| 139 | AssetPaths $paths, |
|
| 140 | Request $request, |
|
| 141 | HtmlBuilder $html, |
|
| 142 | UrlGenerator $url |
|
| 143 | ) { |
|
| 144 | $this->url = $url; |
|
| 145 | $this->html = $html; |
|
| 146 | $this->files = $files; |
|
| 147 | $this->paths = $paths; |
|
| 148 | $this->config = $config; |
|
| 149 | $this->themes = $themes; |
|
| 150 | $this->parser = $parser; |
|
| 151 | $this->manager = $manager; |
|
| 152 | $this->request = $request; |
|
| 153 | $this->application = $application; |
|
| 154 | } |
|
| 155 | ||
| 156 | /** |
|
| 157 | * Add an asset or glob pattern to an asset collection. |
|
| @@ 232-252 (lines=21) @@ | ||
| 229 | * @param ImagePaths $paths |
|
| 230 | * @param ImageMacros $macros |
|
| 231 | */ |
|
| 232 | public function __construct( |
|
| 233 | UrlGenerator $url, |
|
| 234 | HtmlBuilder $html, |
|
| 235 | Filesystem $files, |
|
| 236 | Mobile_Detect $agent, |
|
| 237 | Repository $config, |
|
| 238 | ImageManager $manager, |
|
| 239 | Application $application, |
|
| 240 | ImagePaths $paths, |
|
| 241 | ImageMacros $macros |
|
| 242 | ) { |
|
| 243 | $this->url = $url; |
|
| 244 | $this->html = $html; |
|
| 245 | $this->files = $files; |
|
| 246 | $this->agent = $agent; |
|
| 247 | $this->paths = $paths; |
|
| 248 | $this->config = $config; |
|
| 249 | $this->macros = $macros; |
|
| 250 | $this->manager = $manager; |
|
| 251 | $this->application = $application; |
|
| 252 | } |
|
| 253 | ||
| 254 | /** |
|
| 255 | * Make a new image instance. |
|