Fixed @package and @subpackage phpdoc tags

This commit is contained in:
Pascal Borreli 2010-04-06 17:51:29 -07:00 committed by Fabien Potencier
parent 1b9fee18d4
commit c1e357d200
219 changed files with 819 additions and 653 deletions

View File

@ -19,7 +19,7 @@ use Symfony\Components\Console\Helper\FormatterHelper;
use Symfony\Components\Console\Helper\DialogHelper;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -40,8 +40,8 @@ use Symfony\Components\Console\Helper\DialogHelper;
* $app->addCommand(new SimpleCommand());
* $app->run();
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Application

View File

@ -10,7 +10,7 @@ use Symfony\Components\Console\Output\OutputInterface;
use Symfony\Components\Console\Application;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -21,8 +21,8 @@ use Symfony\Components\Console\Application;
/**
* Base class for all commands.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Command

View File

@ -10,7 +10,7 @@ use Symfony\Components\Console\Output\Output;
use Symfony\Components\Console\Command\Command;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -21,8 +21,8 @@ use Symfony\Components\Console\Command\Command;
/**
* HelpCommand displays the help for a given command.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class HelpCommand extends Command

View File

@ -10,7 +10,7 @@ use Symfony\Components\Console\Output\Output;
use Symfony\Components\Console\Command\Command;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -21,8 +21,8 @@ use Symfony\Components\Console\Command\Command;
/**
* ListCommand displays the list of all available commands for the application.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ListCommand extends Command

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\Console\Helper;
use Symfony\Components\Console\Output\OutputInterface;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ use Symfony\Components\Console\Output\OutputInterface;
/**
* The Dialog class provides helpers to interact with the user.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class DialogHelper extends Helper

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Helper;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Console\Helper;
/**
* The Formatter class provides helpers to format messages.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class FormatterHelper extends Helper

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Helper;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Console\Helper;
/**
* Helper is the base class for all helper classes.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class Helper implements HelperInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Helper;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Console\Helper;
/**
* HelperInterface is the interface all helpers must implement.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface HelperInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\Console\Helper;
use Symfony\Components\Console\Command\Command;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ use Symfony\Components\Console\Command\Command;
/**
* HelperSet represents a set of helpers to be used with a command.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class HelperSet

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,7 +20,7 @@ namespace Symfony\Components\Console\Input;
*
* By default, the `$_SERVER['argv']` array is used for the input values.
*
* This can be overriden by explicitly passing the input values in the constructor:
* This can be overridden by explicitly passing the input values in the constructor:
*
* $input = new ArgvInput($_SERVER['argv']);
*
@ -31,8 +31,8 @@ namespace Symfony\Components\Console\Input;
* the same rules as the argv one. It's almost always better to use the
* `StringInput` when you want to provide your own input.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*
* @see http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
@ -46,7 +46,7 @@ class ArgvInput extends Input
/**
* Constructor.
*
* @param array $argv An array of parameters from the CLI (in the argv format)
* @param array $argv An array of parameters from the CLI (in the argv format)
* @param InputDefinition $definition A InputDefinition instance
*/
public function __construct(array $argv = null, InputDefinition $definition = null)

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -18,8 +18,8 @@ namespace Symfony\Components\Console\Input;
*
* $input = new ArrayInput(array('name' => 'foo', '--bar' => 'foobar'));
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ArrayInput extends Input
@ -29,7 +29,7 @@ class ArrayInput extends Input
/**
* Constructor.
*
* @param array $param An array of parameters
* @param array $param An array of parameters
* @param InputDefinition $definition A InputDefinition instance
*/
public function __construct(array $parameters, InputDefinition $definition = null)

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,8 +20,8 @@ namespace Symfony\Components\Console\Input;
* * `StringInput`: The input is provided as a string
* * `ArrayInput`: The input is provided as an array
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class Input implements InputInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Console\Input;
/**
* Represents a command line argument.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class InputArgument

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -21,8 +21,8 @@ namespace Symfony\Components\Console\Input;
* new InputOption('foo', 'f', InputOption::PARAMETER_REQUIRED),
* ));
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class InputDefinition

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Console\Input;
/**
* InputInterface is the interface implemented by all input classes.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface InputInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Console\Input;
/**
* Represents a command line option.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class InputOption

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Input;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -18,8 +18,8 @@ namespace Symfony\Components\Console\Input;
*
* $input = new StringInput('foo --bar="foobar"');
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class StringInput extends ArgvInput

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Output;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -22,8 +22,8 @@ namespace Symfony\Components\Console\Output;
*
* $output = new StreamOutput(fopen('php://stdout', 'w'));
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ConsoleOutput extends StreamOutput

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Output;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ namespace Symfony\Components\Console\Output;
*
* $output = new NullOutput();
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class NullOutput extends Output

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Output;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,8 +20,8 @@ namespace Symfony\Components\Console\Output;
* * verbose: -v (more output - debug)
* * quiet: -q (no output)
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class Output implements OutputInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Output;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Console\Output;
/**
* OutputInterface is the interface implemented by all Output classes.
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface OutputInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Console\Output;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -22,8 +22,8 @@ namespace Symfony\Components\Console\Output;
*
* $output = new StreamOutput(fopen('/path/to/output.log', 'a', false));
*
* @package symfony
* @subpackage console
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class StreamOutput extends Output

View File

@ -7,7 +7,7 @@ use Symfony\Components\Console\Input\StringInput;
use Symfony\Components\Console\Output\ConsoleOutput;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -21,8 +21,8 @@ use Symfony\Components\Console\Output\ConsoleOutput;
* This class only works with a PHP compiled with readline support
* (either --with-readline or --with-libedit)
*
* @package symfony
* @subpackage cli
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Shell

View File

@ -6,6 +6,20 @@ use Symfony\Components\Console\Application;
use Symfony\Components\Console\Input\ArrayInput;
use Symfony\Components\Console\Output\StreamOutput;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ApplicationTester
{
protected $application;

View File

@ -6,6 +6,20 @@ use Symfony\Components\Console\Command\Command;
use Symfony\Components\Console\Input\ArrayInput;
use Symfony\Components\Console\Output\StreamOutput;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* @package Symfony
* @subpackage Components_Console
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class CommandTester
{
protected $command;

View File

@ -6,7 +6,7 @@ use Symfony\Components\CssSelector\XPathExpr;
use Symfony\Components\CssSelector\SyntaxError;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,8 +20,8 @@ use Symfony\Components\CssSelector\SyntaxError;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class AttribNode implements NodeInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\CssSelector\Node;
use Symfony\Components\CssSelector\XPathExpr;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\CssSelector\XPathExpr;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ClassNode implements NodeInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\CssSelector\Node;
use Symfony\Components\CssSelector\SyntaxError;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\CssSelector\SyntaxError;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class CombinedSelectorNode implements NodeInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\CssSelector\Node;
use Symfony\Components\CssSelector\XPathExpr;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\CssSelector\XPathExpr;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ElementNode implements NodeInterface

View File

@ -6,7 +6,7 @@ use Symfony\Components\CssSelector\SyntaxError;
use Symfony\Components\CssSelector\XPathExpr;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,8 +20,8 @@ use Symfony\Components\CssSelector\XPathExpr;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class FunctionNode implements NodeInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\CssSelector\Node;
use Symfony\Components\CssSelector\XPathExpr;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\CssSelector\XPathExpr;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class HashNode implements NodeInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector\Node;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ namespace Symfony\Components\CssSelector\Node;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface NodeInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\CssSelector\Node;
use Symfony\Components\CssSelector\XPathExprOr;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\CssSelector\XPathExprOr;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class OrNode implements NodeInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\CssSelector\Node;
use Symfony\Components\CssSelector\SyntaxError;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\CssSelector\SyntaxError;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class PseudoNode implements NodeInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,8 +20,8 @@ namespace Symfony\Components\CssSelector;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Parser

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ namespace Symfony\Components\CssSelector;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class SyntaxError extends \LogicException

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ namespace Symfony\Components\CssSelector;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Token

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ namespace Symfony\Components\CssSelector;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class TokenStream

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ namespace Symfony\Components\CssSelector;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Tokenizer

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ namespace Symfony\Components\CssSelector;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class XPathExpr

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\CssSelector;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ namespace Symfony\Components\CssSelector;
* This component is a port of the Python lxml library,
* which is copyright Infrae and distributed under the BSD license.
*
* @package symfony
* @subpackage css_selector
* @package Symfony
* @subpackage Components_CssSelector
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class XPathExprOr extends XPathExpr

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* AnnotatedContainerInterface is the interface implemented when a container knows how to deals with annotations.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface AnnotatedContainerInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* Builder is a DI container that provides an interface to build the services.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Builder extends Container implements AnnotatedContainerInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\DependencyInjection;
use Symfony\Components\DependencyInjection\Loader\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ use Symfony\Components\DependencyInjection\Loader\Loader;
/**
* A BuilderConfiguration is a consistent set of definitions and parameters.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class BuilderConfiguration

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -46,8 +46,8 @@ namespace Symfony\Components\DependencyInjection;
* * IGNORE_ON_INVALID_REFERENCE: Ignores the wrapping command asking for the reference
* (for instance, ignore a setter if the service does not exist)
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Container implements ContainerInterface, \ArrayAccess

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* ContainerInterface is the interface implemented by service container classes.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface ContainerInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* Definition represents a service definition.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Definition

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\DependencyInjection\Dumper;
use Symfony\Components\DependencyInjection\Builder;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ use Symfony\Components\DependencyInjection\Builder;
/**
* Dumper is the abstract class for all built-in dumpers.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class Dumper implements DumperInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection\Dumper;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection\Dumper;
/**
* DumperInterface is the interface implemented by service container dumper classes.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface DumperInterface

View File

@ -8,7 +8,7 @@ use Symfony\Components\DependencyInjection\Parameter;
use Symfony\Components\DependencyInjection\Builder;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -23,8 +23,8 @@ use Symfony\Components\DependencyInjection\Builder;
*
* dot -Tpng container.dot > foo.png
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class GraphvizDumper extends Dumper

View File

@ -8,7 +8,7 @@ use Symfony\Components\DependencyInjection\Reference;
use Symfony\Components\DependencyInjection\Parameter;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\DependencyInjection\Parameter;
/**
* PhpDumper dumps a service container as a PHP class.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class PhpDumper extends Dumper

View File

@ -7,7 +7,7 @@ use Symfony\Components\DependencyInjection\Parameter;
use Symfony\Components\DependencyInjection\Reference;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -18,8 +18,8 @@ use Symfony\Components\DependencyInjection\Reference;
/**
* XmlDumper dumps a service container as an XML string.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class XmlDumper extends Dumper

View File

@ -8,7 +8,7 @@ use Symfony\Components\DependencyInjection\Parameter;
use Symfony\Components\DependencyInjection\Reference;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\DependencyInjection\Reference;
/**
* YamlDumper dumps a service container as a YAML string.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class YamlDumper extends Dumper

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* FileResource represents a resource stored on the filesystem.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class FileResource implements ResourceInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection\Loader;
/**
* FileLoader is the abstract class used by all built-in loaders that are file based.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class FileLoader extends Loader

View File

@ -6,7 +6,7 @@ use Symfony\Components\DependencyInjection\BuilderConfiguration;
use Symfony\Components\DependencyInjection\FileResource;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ use Symfony\Components\DependencyInjection\FileResource;
/**
* IniFileLoader loads parameters from INI files.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class IniFileLoader extends FileLoader

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection\Loader;
/**
* Loader is the abstract class used by all built-in loaders.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class Loader implements LoaderInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection\Loader;
/**
* LoaderExtension is a helper class that helps organize extensions better.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class LoaderExtension implements LoaderExtensionInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection\Loader;
/**
* LoaderExtensionInterface is the interface implemented by loader extension classes.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface LoaderExtensionInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,8 +20,8 @@ namespace Symfony\Components\DependencyInjection\Loader;
* $container = new Builder();
* $container->merge($config);
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface LoaderInterface

View File

@ -9,7 +9,7 @@ use Symfony\Components\DependencyInjection\SimpleXMLElement;
use Symfony\Components\DependencyInjection\FileResource;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -20,8 +20,8 @@ use Symfony\Components\DependencyInjection\FileResource;
/**
* XmlFileLoader loads XML files service definitions.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class XmlFileLoader extends FileLoader

View File

@ -10,7 +10,7 @@ use Symfony\Components\DependencyInjection\FileResource;
use Symfony\Components\Yaml\Yaml;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -23,8 +23,8 @@ use Symfony\Components\Yaml\Yaml;
*
* The YAML format does not support anonymous services (cf. the XML loader).
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class YamlFileLoader extends FileLoader

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* Parameter represents a parameter reference.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Parameter

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* Reference represents a service reference.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Reference

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\DependencyInjection;
/**
* ResourceInterface is the interface that must be implemented by all Resource classes.
*
* @package symfony
* @subpackage dependency_injection
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface ResourceInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\DependencyInjection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -11,6 +11,13 @@ namespace Symfony\Components\DependencyInjection;
* with this source code in the file LICENSE.
*/
/**
* SimpleXMLElement class.
*
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class SimpleXMLElement extends \SimpleXMLElement
{
public function getAttributeAsPhp($name)

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\EventDispatcher;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
@ -13,8 +13,8 @@ namespace Symfony\Components\EventDispatcher;
/**
* Event.
*
* @package symfony
* @subpackage event_dispatcher
* @package Symfony
* @subpackage Components_EventDispatcher
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Event implements \ArrayAccess

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\EventDispatcher;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
@ -15,8 +15,8 @@ namespace Symfony\Components\EventDispatcher;
*
* @see http://developer.apple.com/documentation/Cocoa/Conceptual/Notifications/index.html Apple's Cocoa framework
*
* @package symfony
* @subpackage event_dispatcher
* @package Symfony
* @subpackage Components_EventDispatcher
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class EventDispatcher

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\OutputEscaper;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -15,8 +15,8 @@ namespace Symfony\Components\OutputEscaper;
* Output escaping decorator class for arrays.
*
* @see Escaper
* @package symfony
* @subpackage output_escaper
* @package Symfony
* @subpackage Components_OutputEscaper
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @author Mike Squire <mike@somosis.co.uk>
*/

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\OutputEscaper;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\OutputEscaper;
/**
* Abstract class that provides an interface for escaping of output.
*
* @package symfony
* @subpackage output_escaper
* @package Symfony
* @subpackage Components_OutputEscaper
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @author Mike Squire <mike@somosis.co.uk>
*/

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\OutputEscaper;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -15,8 +15,8 @@ namespace Symfony\Components\OutputEscaper;
* Abstract output escaping decorator class for "getter" objects.
*
* @see Escaper
* @package symfony
* @subpackage output_escaper
* @package Symfony
* @subpackage Components_OutputEscaper
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @author Mike Squire <mike@somosis.co.uk>
*/
@ -25,7 +25,7 @@ abstract class GetterDecorator extends Escaper
/**
* Returns the raw, unescaped value associated with the key supplied.
*
* The key might be an index into an array or a value to be passed to the
* The key might be an index into an array or a value to be passed to the
* decorated object's get() method.
*
* @param string $key The key to retrieve

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\OutputEscaper;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -18,8 +18,8 @@ namespace Symfony\Components\OutputEscaper;
* into an iterator with each value escaped.
*
* @see Escaper
* @package symfony
* @subpackage output_escaper
* @package Symfony
* @subpackage Components_OutputEscaper
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @author Mike Squire <mike@somosis.co.uk>
*/

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\OutputEscaper;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ namespace Symfony\Components\OutputEscaper;
* their return values.
*
* @see Escaper
* @package symfony
* @subpackage output_escaper
* @package Symfony
* @subpackage Components_OutputEscaper
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @author Mike Squire <mike@somosis.co.uk>
*/

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\OutputEscaper;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\OutputEscaper;
/**
* Marks a variable as being safe for output.
*
* @package symfony
* @subpackage output_escaper
* @package Symfony
* @subpackage Components_OutputEscaper
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class SafeDecorator extends \ArrayIterator

View File

@ -2,6 +2,22 @@
namespace Symfony\Components\RequestHandler\Exception;
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* ForbiddenHttpException.
*
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ForbiddenHttpException extends HttpException
{
public function __construct($message = '')

View File

@ -2,7 +2,24 @@
namespace Symfony\Components\RequestHandler\Exception;
// by convention, exception code == response status code
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* HttpException.
*
* By convention, exception code == response status code.
*
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class HttpException extends \Exception
{
}

View File

@ -2,6 +2,22 @@
namespace Symfony\Components\RequestHandler\Exception;
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* NotFoundHttpException.
*
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class NotFoundHttpException extends HttpException
{
public function __construct($message = '')

View File

@ -2,6 +2,22 @@
namespace Symfony\Components\RequestHandler\Exception;
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* UnauthorizedHttpException.
*
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class UnauthorizedHttpException extends HttpException
{
public function __construct($message = '')

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\RequestHandler;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ namespace Symfony\Components\RequestHandler;
*
* You can reinitialize the request by calling the setParameters() method.
*
* @package symfony
* @subpackage request_handler
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Request implements RequestInterface

View File

@ -7,7 +7,7 @@ use Symfony\Components\EventDispatcher\EventDispatcher;
use Symfony\Components\RequestHandler\Exception\NotFoundHttpException;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -18,8 +18,8 @@ use Symfony\Components\RequestHandler\Exception\NotFoundHttpException;
/**
* RequestHandler notifies events to convert a Request object to a Response one.
*
* @package symfony
* @subpackage request_handler
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class RequestHandler

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\RequestHandler;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\RequestHandler;
/**
* RequestInterface is the interface that all client request classes must implement.
*
* @package symfony
* @subpackage request_handler
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface RequestInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\RequestHandler;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\RequestHandler;
/**
* Response is the base implementation of a server response.
*
* @package symfony
* @subpackage request_handler
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class Response implements ResponseInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\RequestHandler;
/*
* This file is part of the symfony package.
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\RequestHandler;
/**
* ResponseInterface is the interface that all server response classes must implement.
*
* @package symfony
* @subpackage request_handler
* @package Symfony
* @subpackage Components_RequestHandler
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface ResponseInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Routing;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Routing;
/**
* CompiledRoutes are returned by the RouteCompiler class.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class CompiledRoute

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Routing;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Routing;
/**
* FileResource represents a resource stored on the filesystem.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class FileResource implements ResourceInterface

View File

@ -6,7 +6,7 @@ use Symfony\Components\Routing\RouteCollection;
use Symfony\Components\Routing\Route;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ use Symfony\Components\Routing\Route;
/**
* GeneratorDumper is the base class for all built-in generator dumpers.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class GeneratorDumper implements GeneratorDumperInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Routing\Generator\Dumper;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Routing\Generator\Dumper;
/**
* GeneratorDumperInterface is the interface that all generator dumper classes must implement.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface GeneratorDumperInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\Routing\Generator\Dumper;
use Symfony\Components\Routing\Route;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ use Symfony\Components\Routing\Route;
/**
* PhpGeneratorDumper creates a PHP class able to generate URLs for a given set of routes.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class PhpGeneratorDumper extends GeneratorDumper

View File

@ -6,7 +6,7 @@ use Symfony\Components\Routing\Route;
use Symfony\Components\Routing\RouteCollection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ use Symfony\Components\Routing\RouteCollection;
/**
* UrlGenerator generates URL based on a set of routes.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class UrlGenerator implements UrlGeneratorInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Routing\Generator;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Routing\Generator;
/**
* UrlGeneratorInterface is the interface that all URL generator classes must implements.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface UrlGeneratorInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Routing\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Routing\Loader;
/**
* FileLoader is the abstract class used by all built-in loaders that are file based.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class FileLoader implements LoaderInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Routing\Loader;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Routing\Loader;
/**
* LoaderInterface is the interface that all loaders classes must implement.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface LoaderInterface

View File

@ -7,7 +7,7 @@ use Symfony\Components\Routing\Route;
use Symfony\Components\Routing\FileResource;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -18,8 +18,8 @@ use Symfony\Components\Routing\FileResource;
/**
* XmlFileLoader loads XML routing files.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class XmlFileLoader extends FileLoader

View File

@ -8,7 +8,7 @@ use Symfony\Components\Routing\FileResource;
use Symfony\Components\Yaml\Yaml;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -19,8 +19,8 @@ use Symfony\Components\Yaml\Yaml;
/**
* YamlFileLoader loads Yaml routing files.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class YamlFileLoader extends FileLoader

View File

@ -6,7 +6,7 @@ use Symfony\Components\Routing\Route;
use Symfony\Components\Routing\RouteCollection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ use Symfony\Components\Routing\RouteCollection;
/**
* ApacheUrlMatcher matches URL based on Apache mod_rewrite matching (see ApacheMatcherDumper).
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ApacheUrlMatcher extends UrlMatcher

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\Routing\Matcher\Dumper;
use Symfony\Components\Routing\Route;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ use Symfony\Components\Routing\Route;
/**
* ApacheMatcherDumper dumps a matcher in the Apache .htaccess format.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class ApacheMatcherDumper extends MatcherDumper

View File

@ -6,7 +6,7 @@ use Symfony\Components\Routing\RouteCollection;
use Symfony\Components\Routing\Route;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ use Symfony\Components\Routing\Route;
/**
* MatcherDumper is the abstract class for all built-in matcher dumpers.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class MatcherDumper implements MatcherDumperInterface

View File

@ -3,7 +3,7 @@
namespace Symfony\Components\Routing\Matcher\Dumper;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -14,8 +14,8 @@ namespace Symfony\Components\Routing\Matcher\Dumper;
/**
* MatcherDumperInterface is the interface that all matcher dumper classes must implement.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface MatcherDumperInterface

View File

@ -5,7 +5,7 @@ namespace Symfony\Components\Routing\Matcher\Dumper;
use Symfony\Components\Routing\Route;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -16,8 +16,8 @@ use Symfony\Components\Routing\Route;
/**
* PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class PhpMatcherDumper extends MatcherDumper

View File

@ -6,7 +6,7 @@ use Symfony\Components\Routing\Route;
use Symfony\Components\Routing\RouteCollection;
/*
* This file is part of the symfony framework.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
@ -17,8 +17,8 @@ use Symfony\Components\Routing\RouteCollection;
/**
* UrlMatcher matches URL based on a set of routes.
*
* @package symfony
* @subpackage routing
* @package Symfony
* @subpackage Components_Routing
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class UrlMatcher implements UrlMatcherInterface

Some files were not shown because too many files have changed in this diff Show More