LonelyMonkeyClass.php
Same filename in other branches
Namespace
Drupal\error_service_testFile
-
core/
modules/ system/ tests/ modules/ error_service_test/ src/ LonelyMonkeyClass.php
View source
<?php
declare (strict_types=1);
namespace Drupal\error_service_test;
use Drupal\Core\Database\Connection;
/**
* A class with a single dependency.
*/
class LonelyMonkeyClass {
/**
* The database connection.
*/
protected Connection $connection;
public function __construct(Connection $connection) {
$this->connection = $connection;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
LonelyMonkeyClass | A class with a single dependency. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.