Back to JsonapiDocument class

Method toArray

public array
toArray
()
Map everything to arrays.
Returns
  • array
Since
  • 4.0.0

Method toArray - Source code

/**
 * Map everything to arrays.
 *
 * @return array
 *
 * @since  4.0.0
 */
public function toArray()
{
    return $this->document->toArray();
}