summaryrefslogtreecommitdiffstats
path: root/Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-05-11 15:02:33 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-05-11 15:02:33 +0200
commita7e17cb70e9306f8887bd2b5ca1a37edcbe3ea0f (patch)
treebf6e04c9bdba66e249fd6b78391e132da130848c /Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor
parentea3fed0df4eaedd820f3f405502b62efe5952f8f (diff)
downloadInternetTechnologien-a7e17cb70e9306f8887bd2b5ca1a37edcbe3ea0f.tar.gz
InternetTechnologien-a7e17cb70e9306f8887bd2b5ca1a37edcbe3ea0f.zip
Let composer manage its own files
Diffstat (limited to 'Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor')
-rw-r--r--Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ChainExtractor.php60
-rw-r--r--Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ExtractorInterface.php38
2 files changed, 0 insertions, 98 deletions
diff --git a/Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ChainExtractor.php b/Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ChainExtractor.php
deleted file mode 100644
index 50e3c84..0000000
--- a/Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ChainExtractor.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Translation\Extractor;
-
-use Symfony\Component\Translation\MessageCatalogue;
-
-/**
- * ChainExtractor extracts translation messages from template files.
- *
- * @author Michel Salib <michelsalib@hotmail.com>
- */
-class ChainExtractor implements ExtractorInterface
-{
- /**
- * The extractors.
- *
- * @var ExtractorInterface[]
- */
- private $extractors = array();
-
- /**
- * Adds a loader to the translation extractor.
- *
- * @param string $format The format of the loader
- * @param ExtractorInterface $extractor The loader
- */
- public function addExtractor($format, ExtractorInterface $extractor)
- {
- $this->extractors[$format] = $extractor;
- }
-
- /**
- * {@inheritdoc}
- */
- public function setPrefix($prefix)
- {
- foreach ($this->extractors as $extractor) {
- $extractor->setPrefix($prefix);
- }
- }
-
- /**
- * {@inheritdoc}
- */
- public function extract($directory, MessageCatalogue $catalogue)
- {
- foreach ($this->extractors as $extractor) {
- $extractor->extract($directory, $catalogue);
- }
- }
-}
diff --git a/Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ExtractorInterface.php b/Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ExtractorInterface.php
deleted file mode 100644
index 6f877c3..0000000
--- a/Aufgabe06/vendor/symfony/translation/Symfony/Component/Translation/Extractor/ExtractorInterface.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Translation\Extractor;
-
-use Symfony\Component\Translation\MessageCatalogue;
-
-/**
- * Extracts translation messages from a template directory to the catalogue.
- * New found messages are injected to the catalogue using the prefix.
- *
- * @author Michel Salib <michelsalib@hotmail.com>
- */
-interface ExtractorInterface
-{
- /**
- * Extracts translation messages from a template directory to the catalogue.
- *
- * @param string $directory The path to look into
- * @param MessageCatalogue $catalogue The catalogue
- */
- public function extract($directory, MessageCatalogue $catalogue);
-
- /**
- * Sets the prefix that should be used for new found messages.
- *
- * @param string $prefix The prefix
- */
- public function setPrefix($prefix);
-}