Find the default endpoint of the given type.
public getDefaultEndpoint ( string $endpointType, array $bindings = null, mixed $default = self::REQUIRED_OPTION ) : array | null | ||
$endpointType | string | The endpoint type. |
$bindings | array | Array with acceptable bindings. Can be null if any binding is allowed. |
$default | mixed | The default value to return if no matching endpoint is found. If no default is provided, an exception will be thrown. |
Результат | array | null | The default endpoint, or null if no acceptable endpoints are used. |