composer update
This commit is contained in:
19
vendor/symfony/http-kernel/KernelInterface.php
vendored
19
vendor/symfony/http-kernel/KernelInterface.php
vendored
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user