REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.67 KB
Close
//home/nshryvcy/taramarriagebureau.com/wp-content/plugins/woocommerce/lib/packages/League/Container/ContainerAwareTrait.php
Text
Base64
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Vendor\League\Container; use Automattic\WooCommerce\Vendor\League\Container\Exception\ContainerException; use Automattic\WooCommerce\Vendor\Psr\Container\ContainerInterface; trait ContainerAwareTrait { /** * @var ContainerInterface */ protected $container; /** * @var Container */ protected $leagueContainer; /** * Set a container. * * @param ContainerInterface $container * * @return ContainerAwareInterface */ public function setContainer(ContainerInterface $container) : ContainerAwareInterface { $this->container = $container; return $this; } /** * Get the container. * * @return ContainerInterface */ public function getContainer() : ContainerInterface { if ($this->container instanceof ContainerInterface) { return $this->container; } throw new ContainerException('No container implementation has been set.'); } /** * Set a container. * * @param Container $container * * @return self */ public function setLeagueContainer(Container $container) : ContainerAwareInterface { $this->container = $container; $this->leagueContainer = $container; return $this; } /** * Get the container. * * @return Container */ public function getLeagueContainer() : Container { if ($this->leagueContainer instanceof Container) { return $this->leagueContainer; } throw new ContainerException('No container implementation has been set.'); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 5 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Argument
DIR
-
drwxr-xr-x
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Definition
DIR
-
drwxr-xr-x
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Exception
DIR
-
drwxr-xr-x
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Inflector
DIR
-
drwxr-xr-x
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ServiceProvider
DIR
-
drwxr-xr-x
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Container.php
6.63 KB
lrw-r--r--
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ContainerAwareInterface.php
1.01 KB
lrw-r--r--
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ContainerAwareTrait.php
1.67 KB
lrw-r--r--
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ReflectionContainer.php
3.29 KB
lrw-r--r--
2026-03-03 06:25:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).