diff options
Diffstat (limited to 'vendor/doctrine/dbal/src/Schema/View.php')
| -rw-r--r-- | vendor/doctrine/dbal/src/Schema/View.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/doctrine/dbal/src/Schema/View.php b/vendor/doctrine/dbal/src/Schema/View.php new file mode 100644 index 0000000..81f5f8a --- /dev/null +++ b/vendor/doctrine/dbal/src/Schema/View.php | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Schema; | ||
| 6 | |||
| 7 | /** | ||
| 8 | * Representation of a Database View. | ||
| 9 | */ | ||
| 10 | class View extends AbstractAsset | ||
| 11 | { | ||
| 12 | public function __construct(string $name, private readonly string $sql) | ||
| 13 | { | ||
| 14 | $this->_setName($name); | ||
| 15 | } | ||
| 16 | |||
| 17 | public function getSql(): string | ||
| 18 | { | ||
| 19 | return $this->sql; | ||
| 20 | } | ||
| 21 | } | ||
