/**
  * @return tubepress_internal_contrib_AbstractContributable
  */
 protected function fromManifest(array $data = array())
 {
     $finalData = array_merge($this->_getMinimalValidData(), $data);
     return $this->_sut->fromManifestData(sys_get_temp_dir() . '/m.json', $finalData);
 }
Beispiel #2
0
 public function __construct(tubepress_api_log_LoggerInterface $logger, tubepress_api_url_UrlFactoryInterface $urlFactory, tubepress_api_util_LangUtilsInterface $langUtils, tubepress_api_util_StringUtilsInterface $stringUtils, tubepress_api_boot_BootSettingsInterface $bootSettings)
 {
     parent::__construct($logger, $urlFactory, $langUtils, $stringUtils);
     $this->_bootSettings = $bootSettings;
 }
Beispiel #3
0
 public function __construct(tubepress_api_options_ContextInterface $context, tubepress_api_url_UrlFactoryInterface $urlFactory, tubepress_api_util_LangUtilsInterface $langUtils, tubepress_api_log_LoggerInterface $log, tubepress_api_util_StringUtilsInterface $stringUtils, tubepress_internal_finder_FinderFactory $finderFactory)
 {
     parent::__construct($log, $urlFactory, $langUtils, $stringUtils);
     $this->_context = $context;
     $this->_finderFactory = $finderFactory;
 }