1
0
mirror of https://github.com/danog/amp.git synced 2024-12-04 02:17:54 +01:00
amp/lib/Deferred.php

10 lines
243 B
PHP
Raw Normal View History

2015-05-19 06:21:33 +02:00
<?php
namespace Amp;
if (defined("AMP_PRODUCTION_MODE") && AMP_PRODUCTION_MODE) {
2015-05-19 06:21:33 +02:00
final class Deferred implements Promisor, Promise { use PublicPromisor; }
} else {
final class Deferred implements Promisor { use PrivatePromisor; }
2015-05-19 06:21:33 +02:00
}