Closte.php
1 year ago
Cloudways.php
1 year ago
DreamHost.php
1 year ago
Flywheel.php
1 year ago
GoDaddyWPaaS.php
1 year ago
GridPane.php
1 year ago
Hosting.php
1 year ago
Kinsta.php
1 year ago
Pagely.php
1 year ago
PagelyCachePurge.php
1 year ago
Pantheon.php
1 year ago
Pressable.php
1 year ago
Raidboxes.php
1 year ago
RocketNet.php
1 year ago
Savvii.php
1 year ago
SiteGround.php
3 months ago
SpinupWp.php
1 year ago
Vimexx.php
1 year ago
WPEngine.php
1 year ago
WPX.php
1 year ago
WPmudev.php
1 year 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 |