src/AppBundle/SfExtend/Route.php
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
namespace AppBundle\SfExtend;
use Symfony\Component\Routing\Route as BaseRoute;
class Route extends BaseRoute
{
/**
* @var string
*/
private $path = '/';
/**
* @var string
*/
private $host = '';
/**
* @var array
*/
private $schemes = array();
/**
* @var array
*/
private $methods = array();
/**
* @var array
*/
private $defaults = array();
/**
* @var array
*/
private $requirements = array();
/**
* @var array
*/
private $options = array();
/**
* @var null|CompiledRoute
*/
private $compiled;
/**
* @var array
*/
private $permissions = array();
private $h5 = false;
public function __construct($path, array $defaults = array(), array $requirements = array(), array $options = array(), $host = '', $schemes = array(), $methods = array(), $permissions = array(), $h5 = false)
{
parent::__construct($path, $defaults, $requirements, $options, $host, $schemes, $methods);
$this->setPermissions($permissions);
$this->setH5($h5);
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。