aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/scssphp/scssphp/src/Evaluation/EvaluateResult.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/scssphp/scssphp/src/Evaluation/EvaluateResult.php')
-rw-r--r--vendor/scssphp/scssphp/src/Evaluation/EvaluateResult.php53
1 files changed, 53 insertions, 0 deletions
diff --git a/vendor/scssphp/scssphp/src/Evaluation/EvaluateResult.php b/vendor/scssphp/scssphp/src/Evaluation/EvaluateResult.php
new file mode 100644
index 000000000..f9e6bf206
--- /dev/null
+++ b/vendor/scssphp/scssphp/src/Evaluation/EvaluateResult.php
@@ -0,0 +1,53 @@
+<?php
+
+/**
+ * SCSSPHP
+ *
+ * @copyright 2012-2020 Leaf Corcoran
+ *
+ * @license http://opensource.org/licenses/MIT MIT
+ *
+ * @link http://scssphp.github.io/scssphp
+ */
+
+namespace ScssPhp\ScssPhp\Evaluation;
+
+use ScssPhp\ScssPhp\Ast\Css\CssStylesheet;
+
+/**
+ * The result of compiling a Sass document to a CSS tree, along with metadata
+ * about the compilation process.
+ *
+ * @internal
+ */
+final class EvaluateResult
+{
+ private readonly CssStylesheet $stylesheet;
+
+ /**
+ * @var list<string>
+ */
+ private readonly array $loadedUrls;
+
+ /**
+ * @param list<string> $loadedUrls
+ */
+ public function __construct(CssStylesheet $stylesheet, array $loadedUrls)
+ {
+ $this->stylesheet = $stylesheet;
+ $this->loadedUrls = $loadedUrls;
+ }
+
+ public function getStylesheet(): CssStylesheet
+ {
+ return $this->stylesheet;
+ }
+
+ /**
+ * @return list<string>
+ */
+ public function getLoadedUrls(): array
+ {
+ return $this->loadedUrls;
+ }
+}