Пример #1
0
 /**
  * Build up the object
  *
  * @param LocalImageProcessor $processor
  */
 public function __construct(LocalImageProcessor $processor)
 {
     $this->dimensionService = GeneralUtility::makeInstance('HDNET\\Focuspoint\\Service\\DimensionService');
     $this->focusCropService = GeneralUtility::makeInstance('HDNET\\Focuspoint\\Service\\FocusCropService');
     parent::__construct($processor);
 }
 /**
  * Build up the object
  *
  * @param LocalImageProcessor $processor
  */
 public function __construct(LocalImageProcessor $processor)
 {
     $this->dimensionService = new DimensionService();
     $this->focusCropService = new FocusCropService();
     parent::__construct($processor);
 }