Skip to content

Commit 060e9e2

Browse files
author
chadcarlson
committed
Add deprecation warning to docblock.
1 parent e30526a commit 060e9e2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/Config.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,15 @@ public function onDedicated() : bool
403403
/**
404404
* Determines if the current environment is a Platform.sh Dedicated environment.
405405
*
406+
* @deprecated
407+
*
408+
* The Platform.sh "Enterprise" will soon be referred to exclusively as
409+
* "Dedicated". the `onEnterprise` method remains available for now, but it
410+
* will be removed in a future version of this library.
411+
*
412+
* It is recommended that you update your projects to use `onDedicated` as
413+
* soon as possible.
414+
*
406415
* @return bool
407416
* True on an Dedicated environment, False otherwise.
408417
*/

0 commit comments

Comments
 (0)