composer update

This commit is contained in:
2019-12-01 06:37:45 +00:00
parent fa199eef05
commit 3115ab75a5
3650 changed files with 72361 additions and 147137 deletions

View File

@@ -80,23 +80,14 @@ interface KernelInterface extends HttpKernelInterface
* where BundleName is the name of the bundle
* and the remaining part is the relative path in the bundle.
*
* If $dir is passed, and the first segment of the path is "Resources",
* this method will look for a file named:
* @param string $name A resource name to locate
*
* $dir/<BundleName>/path/without/Resources
*
* before looking in the bundle resource folder.
*
* @param string $name A resource name to locate
* @param string $dir A directory where to look for the resource first
* @param bool $first Whether to return the first path or paths for all matching bundles
*
* @return string|array The absolute path of the resource or an array if $first is false
* @return string|array The absolute path of the resource or an array if $first is false (array return value is deprecated)
*
* @throws \InvalidArgumentException if the file cannot be found or the name is not valid
* @throws \RuntimeException if the name contains invalid/unsafe characters
*/
public function locateResource($name, $dir = null, $first = true);
public function locateResource($name/*, $dir = null, $first = true*/);
/**
* Gets the name of the kernel.
@@ -133,14 +124,14 @@ interface KernelInterface extends HttpKernelInterface
/**
* Gets the current container.
*
* @return ContainerInterface|null A ContainerInterface instance or null when the Kernel is shutdown
* @return ContainerInterface
*/
public function getContainer();
/**
* Gets the request start time (not available if debug is disabled).
*
* @return int The request start timestamp
* @return float The request start timestamp
*/
public function getStartTime();