PHP Classes

File: vendor/symfony/routing/Tests/Fixtures/validresource.php

Recommend this page to a friend!
  Classes of Stanley Aloh   Tic Tac Toe Multiplayer   vendor/symfony/routing/Tests/Fixtures/validresource.php   Download  
File: vendor/symfony/routing/Tests/Fixtures/validresource.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Tic Tac Toe Multiplayer
Manage the interactions ofTic-Tac-Toe game players
Author: By
Last change:
Date: 9 days ago
Size: 463 bytes
 

Contents

Class file image Download
<?php

/** @var $loader \Symfony\Component\Routing\Loader\PhpFileLoader */
/** @var \Symfony\Component\Routing\RouteCollection $collection */
$collection = $loader->import('validpattern.php');
$collection->addDefaults([
   
'foo' => 123,
]);
$collection->addRequirements([
   
'foo' => '\d+',
]);
$collection->addOptions([
   
'foo' => 'bar',
]);
$collection->setCondition('context.getMethod() == "POST"');
$collection->addPrefix('/prefix');

return
$collection;