array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'class.yaf-route-interface.php', 1 => 'Yaf_Route_Interface', 2 => 'The Yaf_Route_Interface class', ), 'up' => array ( 0 => 'book.yaf.php', 1 => 'Yaf', ), 'prev' => array ( 0 => 'yaf-response-abstract.tostring.php', 1 => 'Yaf_Response_Abstract::__toString', ), 'next' => array ( 0 => 'yaf-route-interface.assemble.php', 1 => 'Yaf_Route_Interface::assemble', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/yaf/yaf-route-interface.xml', ), 'history' => array ( ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.yaf-route-interface.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

The Yaf_Route_Interface class

(Yaf >=1.0.0)

Вступ

Yaf_Route_Interface used for developer defined their custom route.

Короткий огляд класу

class Yaf_Route_Interface {
/* Методи */
abstract public assemble(array $info, array $query = ?): string
abstract public route(Yaf_Request_Abstract $request): bool
}

Зміст