Initial Drupal 11 with DDEV setup
This commit is contained in:
15
vendor/league/container/src/Argument/Literal/ArrayArgument.php
vendored
Normal file
15
vendor/league/container/src/Argument/Literal/ArrayArgument.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\Container\Argument\Literal;
|
||||
|
||||
use League\Container\Argument\LiteralArgument;
|
||||
|
||||
class ArrayArgument extends LiteralArgument
|
||||
{
|
||||
public function __construct(array $value)
|
||||
{
|
||||
parent::__construct($value, LiteralArgument::TYPE_ARRAY);
|
||||
}
|
||||
}
|
||||
15
vendor/league/container/src/Argument/Literal/BooleanArgument.php
vendored
Normal file
15
vendor/league/container/src/Argument/Literal/BooleanArgument.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\Container\Argument\Literal;
|
||||
|
||||
use League\Container\Argument\LiteralArgument;
|
||||
|
||||
class BooleanArgument extends LiteralArgument
|
||||
{
|
||||
public function __construct(bool $value)
|
||||
{
|
||||
parent::__construct($value, LiteralArgument::TYPE_BOOL);
|
||||
}
|
||||
}
|
||||
15
vendor/league/container/src/Argument/Literal/CallableArgument.php
vendored
Normal file
15
vendor/league/container/src/Argument/Literal/CallableArgument.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\Container\Argument\Literal;
|
||||
|
||||
use League\Container\Argument\LiteralArgument;
|
||||
|
||||
class CallableArgument extends LiteralArgument
|
||||
{
|
||||
public function __construct(callable $value)
|
||||
{
|
||||
parent::__construct($value, LiteralArgument::TYPE_CALLABLE);
|
||||
}
|
||||
}
|
||||
15
vendor/league/container/src/Argument/Literal/FloatArgument.php
vendored
Normal file
15
vendor/league/container/src/Argument/Literal/FloatArgument.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\Container\Argument\Literal;
|
||||
|
||||
use League\Container\Argument\LiteralArgument;
|
||||
|
||||
class FloatArgument extends LiteralArgument
|
||||
{
|
||||
public function __construct(float $value)
|
||||
{
|
||||
parent::__construct($value, LiteralArgument::TYPE_FLOAT);
|
||||
}
|
||||
}
|
||||
15
vendor/league/container/src/Argument/Literal/IntegerArgument.php
vendored
Normal file
15
vendor/league/container/src/Argument/Literal/IntegerArgument.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\Container\Argument\Literal;
|
||||
|
||||
use League\Container\Argument\LiteralArgument;
|
||||
|
||||
class IntegerArgument extends LiteralArgument
|
||||
{
|
||||
public function __construct(int $value)
|
||||
{
|
||||
parent::__construct($value, LiteralArgument::TYPE_INT);
|
||||
}
|
||||
}
|
||||
15
vendor/league/container/src/Argument/Literal/ObjectArgument.php
vendored
Normal file
15
vendor/league/container/src/Argument/Literal/ObjectArgument.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\Container\Argument\Literal;
|
||||
|
||||
use League\Container\Argument\LiteralArgument;
|
||||
|
||||
class ObjectArgument extends LiteralArgument
|
||||
{
|
||||
public function __construct(object $value)
|
||||
{
|
||||
parent::__construct($value, LiteralArgument::TYPE_OBJECT);
|
||||
}
|
||||
}
|
||||
15
vendor/league/container/src/Argument/Literal/StringArgument.php
vendored
Normal file
15
vendor/league/container/src/Argument/Literal/StringArgument.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace League\Container\Argument\Literal;
|
||||
|
||||
use League\Container\Argument\LiteralArgument;
|
||||
|
||||
class StringArgument extends LiteralArgument
|
||||
{
|
||||
public function __construct(string $value)
|
||||
{
|
||||
parent::__construct($value, LiteralArgument::TYPE_STRING);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user