@@ -34,8 +34,6 @@ Table of Contents
3434 * [ PromiseInterface::always()] ( #promiseinterfacealways )
3535 * [ PromiseInterface::cancel()] ( #promiseinterfacecancel )
3636 * [ Promise] ( #promise-2 )
37- * [ FulfilledPromise] ( #fulfilledpromise )
38- * [ RejectedPromise] ( #rejectedpromise )
3937 * [ Functions] ( #functions )
4038 * [ resolve()] ( #resolve )
4139 * [ reject()] ( #reject )
@@ -144,19 +142,15 @@ All consumers are notified by having `$onRejected` (which they registered via
144142
145143The promise interface provides the common interface for all promise
146144implementations.
145+ See [ Promise] ( #promise-2 ) for the only public implementation exposed by this
146+ package.
147147
148148A promise represents an eventual outcome, which is either fulfillment (success)
149149and an associated value, or rejection (failure) and an associated reason.
150150
151151Once in the fulfilled or rejected state, a promise becomes immutable.
152152Neither its state nor its result (or error) can be modified.
153153
154- #### Implementations
155-
156- * [ Promise] ( #promise-2 )
157- * [ FulfilledPromise] ( #fulfilledpromise )
158- * [ RejectedPromise] ( #rejectedpromise )
159-
160154#### PromiseInterface::then()
161155
162156``` php
@@ -341,27 +335,6 @@ with that thrown exception as the rejection reason.
341335The resolver function will be called immediately, the canceller function only
342336once all consumers called the ` cancel() ` method of the promise.
343337
344- ### FulfilledPromise
345-
346- Creates a already fulfilled promise.
347-
348- ``` php
349- $promise = new React\Promise\FulfilledPromise($value);
350- ```
351-
352- Note, that ` $value ` ** cannot** be a promise. It's recommended to use
353- [ resolve()] ( #resolve ) for creating resolved promises.
354-
355- ### RejectedPromise
356-
357- Creates a already rejected promise.
358-
359- ``` php
360- $promise = new React\Promise\RejectedPromise($reason);
361- ```
362-
363- Note, that ` $reason ` ** must** be a ` \Throwable ` .
364-
365338### Functions
366339
367340Useful functions for creating, joining, mapping and reducing collections of
0 commit comments