original_string: public function routeAliases($var = null)
      {
          if ($var !== null) {
              $this->routes['aliases'] = (array)$var;
          }
  
          if (!empty($this->routes) && isset($this->routes['aliases'])) {
              return $this->routes['aliases'];
          }
  
          return [];
      }
code: public function routeAliases($var = null)
      {
          if ($var !== null) {
              $this->routes['aliases'] = (array)$var;
          }
  
          if (!empty($this->routes) && isset($this->routes['aliases'])) {
              return $this->routes['aliases'];
          }
  
          return [];
      }
code_tokens: public function routeAliases ( $ var = null ) { if ( $ var !== null ) { $ this -> routes [ 'aliases' ] = ( array ) $ var ; } if ( ! empty ( $ this -> routes ) && isset ( $ this -> routes [ 'aliases' ] ) ) { return $ this -> routes [ 'aliases' ] ; } return [ ] ; }
docstring: Gets the route aliases for the page based on page headers.
  
  @param  array $var list of route aliases
  
  @return array  The route aliases for the Page.
docstring_tokens: Gets the route aliases for the page based on page headers .