Closte.php
4 years ago
Cloudways.php
4 years ago
DreamHost.php
3 years ago
Flywheel.php
4 years ago
GoDaddyWPaaS.php
4 years ago
GridPane.php
4 years ago
Hosting.php
4 years ago
Kinsta.php
2 years ago
Pagely.php
4 years ago
PagelyCachePurge.php
4 years ago
Pantheon.php
2 years ago
Pressable.php
3 years ago
Raidboxes.php
2 years ago
RocketNet.php
3 years ago
Savvii.php
3 years ago
SiteGround.php
2 years ago
Vimexx.php
3 years ago
WPEngine.php
4 years ago
WPX.php
3 years ago
WPmudev.php
2 years ago
Pantheon.php
37 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Pantheon Class |
| 4 | * |
| 5 | * @package nitropack |
| 6 | */ |
| 7 | |
| 8 | namespace NitroPack\Integration\Hosting; |
| 9 | |
| 10 | use \NitroPack\SDK\Filesystem; |
| 11 | |
| 12 | /** |
| 13 | * Pantheon Class |
| 14 | */ |
| 15 | class Pantheon extends Hosting { |
| 16 | const STAGE = "very_early"; |
| 17 | |
| 18 | /** |
| 19 | * Detect if Pantheon is active |
| 20 | * |
| 21 | * @return bool |
| 22 | */ |
| 23 | public static function detect() { |
| 24 | return isset( $_ENV['PANTHEON_ENVIRONMENT'] ); |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Initialize Pantheon |
| 29 | * |
| 30 | * @param $stage |
| 31 | * @return void |
| 32 | */ |
| 33 | public function init($stage) { |
| 34 | |
| 35 | } |
| 36 | } |
| 37 |