Apple News API PHP Client

ConditionalInterface extends JsonSerializable

Interface for all conditional objects.

Conditional objects allow properties to change based on device characteristics, user preferences, or viewing context.

Tags
see
https://developer.apple.com/documentation/apple_news/conditionalcomponent

Table of Contents

Methods

hasConditions()  : bool
Check if any conditions have been set.

Methods

hasConditions()

Check if any conditions have been set.

public hasConditions() : bool
Return values
bool —

True if conditions exist.


        
On this page

Search results