for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/*
* This file is part of Flight Routing.
*
* PHP version 8.0 and above required
* @author Divine Niiquaye Ibok <[email protected]>
* @copyright 2019 Divine Niiquaye Ibok (https://divinenii.com/)
* @license https://opensource.org/licenses/BSD-3-Clause License
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flight\Routing\Tests\Fixtures\Annotation\Route\Attribute;
use Flight\Routing\Annotation\Route;
#[Route(path: '/defaults/{locale}', name: 'attribute_', defaults: ['foo' => 'bar'], where: ['locale' => 'en|fr'])]
class GlobalDefaultsClass
{
#[Route(path: '/specific-name', name: 'specific_name', methods: ['GET'])]
public function withName(): void
}
#[Route('/specific-none', methods: ['GET', 'HEAD'])]
public function noName(): void