Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
namespace MyCompany\MyApplication\Utility;
use TYPO3\Flow\Annotations as Flow;
class TagsinputTagInjector {
/**
* @var \TYPO3\Flow\I18n\Translator
* @Flow\Inject
*/
protected $translator;
/**
* @var \MyCompany\MyApplication\Domain\Repository\DataFieldRepository
* @Flow\Inject
*/
protected $dataFieldRepository;
/**
* @param \MyCompany\MyApplication\Domain\Repository\DataFieldRepository $dataFieldRepository
* @return void
*/
public function setDataFieldRepository($dataFieldRepository) {
$this->dataFieldRepository = $dataFieldRepository;
}
/**
* @return \MyCompany\MyApplication\Domain\Repository\DataFieldRepository
*/
public function getDataFieldRepository() {
return $this->dataFieldRepository;
}
/**
* @param \TYPO3\Flow\I18n\Translator $translator
* @return void
*/
public function setTranslator($translator) {
$this->translator = $translator;
}
/**
* @return \TYPO3\Flow\I18n\Translator
*/
public function getTranslator() {
return $this->translator;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment