mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-17 03:04:47 -05:00
14 lines
349 B
PHP
14 lines
349 B
PHP
<?php
|
|
|
|
namespace Gazelle;
|
|
|
|
abstract class BaseManager extends Base {
|
|
/**
|
|
* A class that derives from BaseManager is guaranteed to
|
|
* have a method findById() that can be used to retrieve
|
|
* Gazelle objects. Handy if you want to pass arbitrary
|
|
* managers around.
|
|
*/
|
|
abstract public function findById(int $id): ?Base;
|
|
}
|