diff --git a/Annotation/ApiDoc.php b/Annotation/ApiDoc.php index c273906..d5ac8cd 100644 --- a/Annotation/ApiDoc.php +++ b/Annotation/ApiDoc.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Annotation; /** diff --git a/Command/DumpCommand.php b/Command/DumpCommand.php index 07d2322..adf990b 100644 --- a/Command/DumpCommand.php +++ b/Command/DumpCommand.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; diff --git a/Controller/ApiDocController.php b/Controller/ApiDocController.php index b17b26a..1ac882f 100644 --- a/Controller/ApiDocController.php +++ b/Controller/ApiDocController.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 83e56ff..b932eae 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; diff --git a/DependencyInjection/NelmioApiDocExtension.php b/DependencyInjection/NelmioApiDocExtension.php index e5242c2..63c4107 100644 --- a/DependencyInjection/NelmioApiDocExtension.php +++ b/DependencyInjection/NelmioApiDocExtension.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\DependencyInjection; use Symfony\Component\HttpKernel\DependencyInjection\Extension; diff --git a/EventListener/RequestListener.php b/EventListener/RequestListener.php index e28cde8..d83d4cd 100644 --- a/EventListener/RequestListener.php +++ b/EventListener/RequestListener.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\EventListener; use Nelmio\ApiDocBundle\Extractor\ApiDocExtractor; diff --git a/Extractor/ApiDocExtractor.php b/Extractor/ApiDocExtractor.php index e9d3de1..91c9901 100644 --- a/Extractor/ApiDocExtractor.php +++ b/Extractor/ApiDocExtractor.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Extractor; use Doctrine\Common\Annotations\Reader; diff --git a/Formatter/AbstractFormatter.php b/Formatter/AbstractFormatter.php index 1fa31ff..515877e 100644 --- a/Formatter/AbstractFormatter.php +++ b/Formatter/AbstractFormatter.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Formatter; use Nelmio\ApiDocBundle\Annotation\ApiDoc; diff --git a/Formatter/FormatterInterface.php b/Formatter/FormatterInterface.php index ed56184..a51a947 100644 --- a/Formatter/FormatterInterface.php +++ b/Formatter/FormatterInterface.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Formatter; use Nelmio\ApiDocBundle\Annotation\ApiDoc; diff --git a/Formatter/HtmlFormatter.php b/Formatter/HtmlFormatter.php index 925e123..7564f88 100644 --- a/Formatter/HtmlFormatter.php +++ b/Formatter/HtmlFormatter.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Formatter; use Nelmio\ApiDocBundle\Annotation\ApiDoc; diff --git a/Formatter/MarkdownFormatter.php b/Formatter/MarkdownFormatter.php index baea65a..65b20e2 100644 --- a/Formatter/MarkdownFormatter.php +++ b/Formatter/MarkdownFormatter.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Formatter; class MarkdownFormatter extends AbstractFormatter diff --git a/Formatter/SimpleFormatter.php b/Formatter/SimpleFormatter.php index f9d901f..2c1c6e3 100644 --- a/Formatter/SimpleFormatter.php +++ b/Formatter/SimpleFormatter.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Formatter; class SimpleFormatter extends AbstractFormatter diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3b84c89 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2011 Nelmio + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/Parser/FormTypeParser.php b/Parser/FormTypeParser.php index 7a534f7..e533054 100644 --- a/Parser/FormTypeParser.php +++ b/Parser/FormTypeParser.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Nelmio\ApiDocBundle\Parser; use Symfony\Component\Form\AbstractType;