lk-students/app/Services/GetInfoOfStudent.php

22 lines
314 B
PHP
Raw Normal View History

2024-07-12 12:47:16 +03:00
<?php
namespace App\Services;
use PDO;
use PHPStan\Cache\Cache;
class GetInfoOfStudent
{
private $connect;
public function __construct($connection)
{
$this->connect = $connection;
}
public function getInfo($user): array
{
return $this->connect->getInfo($user);
}
}