PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 14.2
Jetpack – WP Security, Backup, Speed, & Growth v14.2
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / vendor / scssphp / scssphp / src / CompilationResult.php

CompilationResult.php in Jetpack – WP Security, Backup, Speed, & Growth 14.2, at vendor/scssphp/scssphp/src/CompilationResult.php

70 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * SCSSPHP
5 *
6 * @copyright 2012-2020 Leaf Corcoran
7 *
8 * @license http://opensource.org/licenses/MIT MIT
9 *
10 * @link http://scssphp.github.io/scssphp
11 */
12
13 namespace ScssPhp\ScssPhp;
14
15 class CompilationResult
16 {
17 /**
18 * @var string
19 */
20 private $css;
21
22 /**
23 * @var string|null
24 */
25 private $sourceMap;
26
27 /**
28 * @var string[]
29 */
30 private $includedFiles;
31
32 /**
33 * @param string $css
34 * @param string|null $sourceMap
35 * @param string[] $includedFiles
36 */
37 public function __construct($css, $sourceMap, array $includedFiles)
38 {
39 $this->css = $css;
40 $this->sourceMap = $sourceMap;
41 $this->includedFiles = $includedFiles;
42 }
43
44 /**
45 * @return string
46 */
47 public function getCss()
48 {
49 return $this->css;
50 }
51
52 /**
53 * @return string[]
54 */
55 public function getIncludedFiles()
56 {
57 return $this->includedFiles;
58 }
59
60 /**
61 * The sourceMap content, if it was generated
62 *
63 * @return null|string
64 */
65 public function getSourceMap()
66 {
67 return $this->sourceMap;
68 }
69 }
70