updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -24,7 +24,7 @@ use Symfony\Component\HttpKernel\Bundle\BundleInterface;
*
* @method string getProjectDir() Gets the project dir (path of the project's composer file) - not defining it is deprecated since Symfony 4.2
*/
interface KernelInterface extends HttpKernelInterface, \Serializable
interface KernelInterface extends HttpKernelInterface
{
/**
* Returns an array of bundles to register.
@@ -80,23 +80,14 @@ interface KernelInterface extends HttpKernelInterface, \Serializable
* 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, \Serializable
/**
* 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();