src/snac/data/ReconciliationResult.php
/**
     * Required method to convert this data object to an array
     *
     * @param boolean $shorten optional Whether or not to include null/empty components
     * @return string[][] This object as an associative array
     */
Required method to convert this data object to an array
@param boolean $shorten optional Whether or not to include null/empty components
@return string[][] This object as an associative array
Required method to convert this data object to an array @param boolean $shorten optional Whether or not to include null / empty components @return string [] [] This object as an associative array
public function toArray($shorten = true) {
        $array = array();
        $array["strength"] = $this->strength;
        if ($this->identity != null)
            $array["identity"] = $this->identity->toArray();
        else if (!$shorten)
            $array["identity"] = null;
        if ($this->vector != null || !$shorten)
            $array["vector"] = $this->vector;
        if ($this->properties != null || !$shorten)
        $array["properties"] = $this->properties;
        return $array;
    }
public function toArray ( $ shorten = true ) { $ array = array ( ) ; $ array [ " strength " ] = $ this -> strength ; if ( $ this -> identity != null ) $ array [ " identity " ] = $ this -> identity -> toArray ( ) ; else if ( ! $ shorten ) $ array [ " identity " ] = null ; if ( $ this -> vector != null || ! $ shorten ) $ array [ " vector " ] = $ this -> vector ; if ( $ this -> properties != null || ! $ shorten ) $ array [ " properties " ] = $ this -> properties ; return $ array ; }
Required method to convert this data object to an array
 @param boolean $shorten optional Whether or not to include null/empty components
 @return string[][] This object as an associative array
Required method to convert this data object to an array @param boolean $shorten optional Whether or not to include null / empty components @return string [] [] This object as an associative array