1234567891011121314151617181920212223242526272829303132 |
- <?php
-
- namespace App\Http\Business;
-
- use app\Http\Business\Camera\AbstractCamera;
- use App\Http\DBO\CamerasDbo;
- use app\Http\DBO\CamerasImageDbo;
- use App\Http\DBO\CameraTypesDbo;
-
-
- class CamerasBusiness
- {
-
-
- public static function getImage(CamerasDbo $camera, CameraTypesDbo $type)
- {
-
-
- $class = $type->getClass();
- $sens = new $class($camera);
- return $sens->getImage();
- }
- }
|