ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
UsageManager.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Taxonomy\Usage;
22 
24 {
26 
27  public function __construct(
28  UsageDBRepository $db_repo
29  ) {
30  $this->db_repo = $db_repo;
31  }
32 
33  public function getUsageOfObject(int $obj_id, bool $include_titles = false): array
34  {
35  return $this->db_repo->getUsageOfObject($obj_id, $include_titles);
36  }
37 }
getUsageOfObject(int $obj_id, bool $include_titles=false)
__construct(UsageDBRepository $db_repo)