18 lines
280 B
PHP
18 lines
280 B
PHP
<?php
|
|
|
|
use App\Core\Database;
|
|
|
|
class Example
|
|
{
|
|
public Database $database;
|
|
|
|
public function __construct(Database $database)
|
|
{
|
|
$this->database = $database;
|
|
}
|
|
|
|
public function returnGivenString(string $string): string
|
|
{
|
|
return $string;
|
|
}
|
|
} |