src/Page.php
public function uris()
    {
        $uri = (string) $this->uri;

        $exists = isset($this->data['permalink']);

        $exists && $uri = $this->data['permalink'];

        $items = explode('/', (string) $uri);

        $items = array_filter((array) $items);

        return (array) array_values($items);
    }
public function uris()
    {
        $uri = (string) $this->uri;

        $exists = isset($this->data['permalink']);

        $exists && $uri = $this->data['permalink'];

        $items = explode('/', (string) $uri);

        $items = array_filter((array) $items);

        return (array) array_values($items);
    }
public function uris ( ) { $ uri = ( string ) $ this -> uri ; $ exists = isset ( $ this -> data [ 'permalink' ] ) ; $ exists && $ uri = $ this -> data [ 'permalink' ] ; $ items = explode ( '/' , ( string ) $ uri ) ; $ items = array_filter ( ( array ) $ items ) ; return ( array ) array_values ( $ items ) ; }
Returns an array of URI segments.

@return array
Returns an array of URI segments .