Update to Drupal 8.2.6. For more information, see https://www.drupal.org/project/drupal/releases/8.2.6
This commit is contained in:
parent
db56c09587
commit
f1e72395cb
588 changed files with 26857 additions and 2777 deletions
|
@ -47,8 +47,6 @@ class Definition
|
|||
protected $arguments;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string|null $class The service class
|
||||
* @param array $arguments An array of arguments to pass to the service constructor
|
||||
*/
|
||||
|
@ -63,7 +61,7 @@ class Definition
|
|||
*
|
||||
* @param string|array $factory A PHP function or an array containing a class/Reference and a method to call
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setFactory($factory)
|
||||
{
|
||||
|
@ -92,7 +90,7 @@ class Definition
|
|||
*
|
||||
* @param string $factoryClass The factory class name
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @deprecated since version 2.6, to be removed in 3.0.
|
||||
*/
|
||||
|
@ -126,7 +124,7 @@ class Definition
|
|||
*
|
||||
* @param string $factoryMethod The factory method name
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @deprecated since version 2.6, to be removed in 3.0.
|
||||
*/
|
||||
|
@ -146,7 +144,7 @@ class Definition
|
|||
* @param null|string $renamedId The new decorated service id
|
||||
* @param int $priority The priority of decoration
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @throws InvalidArgumentException In case the decorated service id and the new decorated service id are equals.
|
||||
*/
|
||||
|
@ -196,7 +194,7 @@ class Definition
|
|||
*
|
||||
* @param string $factoryService The factory service id
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @deprecated since version 2.6, to be removed in 3.0.
|
||||
*/
|
||||
|
@ -232,7 +230,7 @@ class Definition
|
|||
*
|
||||
* @param string $class The service class
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setClass($class)
|
||||
{
|
||||
|
@ -256,7 +254,7 @@ class Definition
|
|||
*
|
||||
* @param array $arguments An array of arguments
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setArguments(array $arguments)
|
||||
{
|
||||
|
@ -289,7 +287,7 @@ class Definition
|
|||
*
|
||||
* @param mixed $argument An argument
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function addArgument($argument)
|
||||
{
|
||||
|
@ -304,7 +302,7 @@ class Definition
|
|||
* @param int $index
|
||||
* @param mixed $argument
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @throws OutOfBoundsException When the replaced argument does not exist
|
||||
*/
|
||||
|
@ -352,7 +350,7 @@ class Definition
|
|||
*
|
||||
* @param array $calls An array of method calls
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethodCalls(array $calls = array())
|
||||
{
|
||||
|
@ -370,7 +368,7 @@ class Definition
|
|||
* @param string $method The method name to call
|
||||
* @param array $arguments An array of arguments to pass to the method call
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @throws InvalidArgumentException on empty $method param
|
||||
*/
|
||||
|
@ -389,7 +387,7 @@ class Definition
|
|||
*
|
||||
* @param string $method The method name to remove
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function removeMethodCall($method)
|
||||
{
|
||||
|
@ -436,7 +434,7 @@ class Definition
|
|||
*
|
||||
* @param array $tags
|
||||
*
|
||||
* @return Definition the current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setTags(array $tags)
|
||||
{
|
||||
|
@ -473,7 +471,7 @@ class Definition
|
|||
* @param string $name The tag name
|
||||
* @param array $attributes An array of attributes
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function addTag($name, array $attributes = array())
|
||||
{
|
||||
|
@ -499,7 +497,7 @@ class Definition
|
|||
*
|
||||
* @param string $name The tag name
|
||||
*
|
||||
* @return Definition
|
||||
* @return $this
|
||||
*/
|
||||
public function clearTag($name)
|
||||
{
|
||||
|
@ -511,7 +509,7 @@ class Definition
|
|||
/**
|
||||
* Clears the tags for this definition.
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function clearTags()
|
||||
{
|
||||
|
@ -525,7 +523,7 @@ class Definition
|
|||
*
|
||||
* @param string $file A full pathname to include
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setFile($file)
|
||||
{
|
||||
|
@ -549,7 +547,7 @@ class Definition
|
|||
*
|
||||
* @param bool $shared Whether the service must be shared or not
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setShared($shared)
|
||||
{
|
||||
|
@ -573,7 +571,7 @@ class Definition
|
|||
*
|
||||
* @param string $scope Whether the service must be shared or not
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @deprecated since version 2.8, to be removed in 3.0.
|
||||
*/
|
||||
|
@ -613,7 +611,7 @@ class Definition
|
|||
*
|
||||
* @param bool $boolean
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setPublic($boolean)
|
||||
{
|
||||
|
@ -637,7 +635,7 @@ class Definition
|
|||
*
|
||||
* @param bool $boolean
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*
|
||||
* @deprecated since version 2.7, will be removed in 3.0.
|
||||
*/
|
||||
|
@ -673,7 +671,7 @@ class Definition
|
|||
*
|
||||
* @param bool $lazy
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setLazy($lazy)
|
||||
{
|
||||
|
@ -698,7 +696,7 @@ class Definition
|
|||
*
|
||||
* @param bool $boolean
|
||||
*
|
||||
* @return Definition the current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setSynthetic($boolean)
|
||||
{
|
||||
|
@ -724,7 +722,7 @@ class Definition
|
|||
*
|
||||
* @param bool $boolean
|
||||
*
|
||||
* @return Definition the current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setAbstract($boolean)
|
||||
{
|
||||
|
@ -751,7 +749,7 @@ class Definition
|
|||
* @param bool $status
|
||||
* @param string $template Template message to use if the definition is deprecated
|
||||
*
|
||||
* @return Definition the current instance
|
||||
* @return $this
|
||||
*
|
||||
* @throws InvalidArgumentException When the message template is invalid.
|
||||
*/
|
||||
|
@ -802,7 +800,7 @@ class Definition
|
|||
*
|
||||
* @param callable $callable A PHP callable
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setConfigurator($callable)
|
||||
{
|
||||
|
@ -826,7 +824,7 @@ class Definition
|
|||
*
|
||||
* @param string[] $types
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutowiringTypes(array $types)
|
||||
{
|
||||
|
@ -852,9 +850,9 @@ class Definition
|
|||
/**
|
||||
* Sets autowired.
|
||||
*
|
||||
* @param $autowired
|
||||
* @param bool $autowired
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutowired($autowired)
|
||||
{
|
||||
|
@ -878,7 +876,7 @@ class Definition
|
|||
*
|
||||
* @param string $type
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function addAutowiringType($type)
|
||||
{
|
||||
|
@ -892,7 +890,7 @@ class Definition
|
|||
*
|
||||
* @param string $type
|
||||
*
|
||||
* @return Definition The current instance
|
||||
* @return $this
|
||||
*/
|
||||
public function removeAutowiringType($type)
|
||||
{
|
||||
|
|
Reference in a new issue