public function isIncludedField(string $resourceType, string $field): bool
    {
        if ($this->includedFields === null) {
            $this->includedFields = $this->setIncludedFields();
        }

        if (array_key_exists($resourceType, $this->includedFields) === false) {
            return true;
        }

        if (isset($this->includedFields[$resourceType][""])) {
            return false;
        }

        return isset($this->includedFields[$resourceType][$field]);
    }
public function isIncludedField(string $resourceType, string $field): bool
    {
        if ($this->includedFields === null) {
            $this->includedFields = $this->setIncludedFields();
        }

        if (array_key_exists($resourceType, $this->includedFields) === false) {
            return true;
        }

        if (isset($this->includedFields[$resourceType][""])) {
            return false;
        }

        return isset($this->includedFields[$resourceType][$field]);
    }
public function isIncludedField ( string $ resourceType , string $ field ) : bool { if ( $ this -> includedFields === null ) { $ this -> includedFields = $ this -> setIncludedFields ( ) ; } if ( array_key_exists ( $ resourceType , $ this -> includedFields ) === false ) { return true ; } if ( isset ( $ this -> includedFields [ $ resourceType ] [ "" ] ) ) { return false ; } return isset ( $ this -> includedFields [ $ resourceType ] [ $ field ] ) ; }
Determines if a given field for a given resource type should be present in the response or not.
Determines if a given field for a given resource type should be present in the response or not .