update 1.0.8.0
Commits for version update
This commit is contained in:
2
vendor/symfony/routing/Annotation/Route.php
vendored
2
vendor/symfony/routing/Annotation/Route.php
vendored
@@ -34,7 +34,7 @@ class Route
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data An array of key/value parameters.
|
||||
* @param array $data An array of key/value parameters
|
||||
*
|
||||
* @throws \BadMethodCallException
|
||||
*/
|
||||
|
16
vendor/symfony/routing/CHANGELOG.md
vendored
16
vendor/symfony/routing/CHANGELOG.md
vendored
@@ -7,6 +7,22 @@ CHANGELOG
|
||||
* allowed specifying a directory to recursively load all routing configuration files it contains
|
||||
* Added ObjectRouteLoader and ServiceRouteLoader that allow routes to be loaded
|
||||
by calling a method on an object/service.
|
||||
* [DEPRECATION] Deprecated the hardcoded value for the `$referenceType` argument of the `UrlGeneratorInterface::generate` method.
|
||||
Use the constants defined in the `UrlGeneratorInterface` instead.
|
||||
|
||||
Before:
|
||||
|
||||
```php
|
||||
$router->generate('blog_show', array('slug' => 'my-blog-post'), true);
|
||||
```
|
||||
|
||||
After:
|
||||
|
||||
```php
|
||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
|
||||
$router->generate('blog_show', array('slug' => 'my-blog-post'), UrlGeneratorInterface::ABSOLUTE_URL);
|
||||
```
|
||||
|
||||
2.5.0
|
||||
-----
|
||||
|
@@ -69,7 +69,7 @@ class AnnotationDirectoryLoader extends AnnotationFileLoader
|
||||
if (!is_string($resource)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
$path = $this->locator->locate($resource);
|
||||
} catch (\Exception $e) {
|
||||
|
@@ -190,7 +190,7 @@ class XmlFileLoader extends FileLoader
|
||||
* @param \DOMElement $node Element to parse that contains the configs
|
||||
* @param string $path Full path of the XML file being processed
|
||||
*
|
||||
* @return array An array with the defaults as first item, requirements as second and options as third.
|
||||
* @return array An array with the defaults as first item, requirements as second and options as third
|
||||
*
|
||||
* @throws \InvalidArgumentException When the XML is invalid
|
||||
*/
|
||||
|
@@ -26,7 +26,7 @@ class DumperCollection implements \IteratorAggregate
|
||||
private $parent;
|
||||
|
||||
/**
|
||||
* @var (DumperCollection|DumperRoute)[]
|
||||
* @var DumperCollection[]|DumperRoute[]
|
||||
*/
|
||||
private $children = array();
|
||||
|
||||
@@ -38,7 +38,7 @@ class DumperCollection implements \IteratorAggregate
|
||||
/**
|
||||
* Returns the children routes and collections.
|
||||
*
|
||||
* @return (DumperCollection|DumperRoute)[] Array of DumperCollection|DumperRoute
|
||||
* @return DumperCollection[]|DumperRoute[] Array of DumperCollection|DumperRoute
|
||||
*/
|
||||
public function all()
|
||||
{
|
||||
@@ -76,7 +76,7 @@ class DumperCollection implements \IteratorAggregate
|
||||
/**
|
||||
* Returns an iterator over the children.
|
||||
*
|
||||
* @return \Iterator The iterator
|
||||
* @return \Iterator|DumperCollection[]|DumperRoute[] The iterator
|
||||
*/
|
||||
public function getIterator()
|
||||
{
|
||||
|
@@ -21,7 +21,7 @@ interface RedirectableUrlMatcherInterface
|
||||
/**
|
||||
* Redirects the user to another URL.
|
||||
*
|
||||
* @param string $path The path info to redirect to.
|
||||
* @param string $path The path info to redirect to
|
||||
* @param string $route The route name that matched
|
||||
* @param string|null $scheme The URL scheme (null to keep the current one)
|
||||
*
|
||||
|
2
vendor/symfony/routing/RouteCollection.php
vendored
2
vendor/symfony/routing/RouteCollection.php
vendored
@@ -49,7 +49,7 @@ class RouteCollection implements \IteratorAggregate, \Countable
|
||||
*
|
||||
* @see all()
|
||||
*
|
||||
* @return \ArrayIterator An \ArrayIterator object for iterating over routes
|
||||
* @return \ArrayIterator|Route[] An \ArrayIterator object for iterating over routes
|
||||
*/
|
||||
public function getIterator()
|
||||
{
|
||||
|
2
vendor/symfony/routing/Router.php
vendored
2
vendor/symfony/routing/Router.php
vendored
@@ -219,7 +219,7 @@ class Router implements RouterInterface, RequestMatcherInterface
|
||||
/**
|
||||
* Sets the ConfigCache factory to use.
|
||||
*
|
||||
* @param ConfigCacheFactoryInterface $configCacheFactory The factory to use.
|
||||
* @param ConfigCacheFactoryInterface $configCacheFactory The factory to use
|
||||
*/
|
||||
public function setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory)
|
||||
{
|
||||
|
Reference in New Issue
Block a user