$page->toArray($callback = null)

Converts the entire page object into a plain PHP array

  • $callback (closure)
    Filter callback
  • return (array)

Example

<?php
$array = $page->toArray();
a::show($array);
 ?>