您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

AbstractCamera.php 477B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 11/24/15
  6. * Time: 12:53 PM
  7. */
  8. namespace app\Http\Business\Cameras;
  9. use App\Http\DBO\CamerasDbo;
  10. use app\Http\DBO\CamerasImageDbo;
  11. abstract class AbstractCamera
  12. {
  13. /**
  14. * @var CamerasDbo
  15. */
  16. protected $_camera;
  17. public function __construct(CamerasDbo $camera)
  18. {
  19. $this->_camera = $camera;
  20. }
  21. /**
  22. * @return CamerasImageDbo
  23. */
  24. public abstract function getImage();
  25. }