summaryrefslogtreecommitdiffstats
path: root/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php')
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php b/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php
new file mode 100644
index 0000000..7c62d75
--- /dev/null
+++ b/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php
@@ -0,0 +1,20 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+if (\PHP_VERSION_ID < 80000) {
+ interface Stringable
+ {
+ /**
+ * @return string
+ */
+ public function __toString();
+ }
+}