PHP Classes

File: vendor/symfony/routing/Tests/Fixtures/dumper/compiled_url_matcher3.php

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/symfony/routing/Tests/Fixtures/dumper/compiled_url_matcher3.php   Download  
File: vendor/symfony/routing/Tests/Fixtures/dumper/compiled_url_matcher3.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Chatto PHP Websocket Chat System
Websocket based chat system using Ratchet library
Author: By
Last change:
Date: 3 years ago
Size: 848 bytes
 

Contents

Class file image Download
<?php

/**
 * This file has been auto-generated
 * by the Symfony Routing Component.
 */

return [
   
false, // $matchHost
   
[ // $staticRoutes
       
'/rootprefix/test' => [[['_route' => 'static'], null, null, null, false, false, null]],
       
'/with-condition' => [[['_route' => 'with-condition'], null, null, null, false, false, -1]],
    ],
    [
// $regexpList
       
0 => '{^(?'
               
.'|/rootprefix/([^/]++)(*:27)'
           
.')/?$}sD',
    ],
    [
// $dynamicRoutes
       
27 => [
            [[
'_route' => 'dynamic'], ['var'], null, null, false, true, null],
            [
null, null, null, null, false, false, 0],
        ],
    ],
    static function (
$condition, $context, $request) { // $checkCondition
       
switch ($condition) {
            case -
1: return ($context->getMethod() == "GET");
        }
    },
];