merged branch bschussek/emailfix (PR #4421)
Commits -------9051622
Fixing email Discussion ---------- Fixing email address --------------------------------------------------------------------------- by travisbot at 2012-05-26T07:54:42Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1440253) (merged90516223
into7e28a06d
).
This commit is contained in:
commit
9e9519913d
@ -20,7 +20,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
*
|
||||
* This works with ORM, MongoDB and CouchDB instances of the collection interface.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @see Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Component\Form\Util\FormUtil;
|
||||
* FormExtension extends Twig with form capabilities.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FormExtension extends \Twig_Extension
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
|
||||
* Adds all services with the tags "form.type" and "form.type_guesser" as
|
||||
* arguments of the "form.extension" service
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FormPass implements CompilerPassInterface
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ use Symfony\Component\Form\Util\FormUtil;
|
||||
* FormHelper provides helpers to help display forms.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FormHelper extends Helper
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
* container
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Jordan Alliot <jordan.alliot@gmail.com>
|
||||
*/
|
||||
class ContainerAwareEventDispatcher extends EventDispatcher
|
||||
|
@ -15,7 +15,7 @@ use Symfony\Component\Form\Exception\FormException;
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
|
||||
/**
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
abstract class AbstractExtension implements FormExtensionInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Form;
|
||||
/**
|
||||
* Transforms a value between different representations.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
interface DataTransformerInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Form\Exception;
|
||||
/**
|
||||
* Thrown when a form could not be constructed by a FormFactory
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class CreationException extends FormException
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Form\Exception;
|
||||
/**
|
||||
* Indicates a value transformation error.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class TransformationFailedException extends \RuntimeException
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Form\Exception;
|
||||
/**
|
||||
* Thrown when a form type is configured incorrectly
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class TypeDefinitionException extends FormException
|
||||
{
|
||||
|
@ -28,7 +28,7 @@ use Symfony\Component\Form\Extension\Core\View\ChoiceView;
|
||||
* $choiceList = new ChoiceList($choices, $labels);
|
||||
* </code>
|
||||
*
|
||||
* @author Bernhard Schussek <bschussek@gmail.<com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ChoiceList implements ChoiceListInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Form\AbstractExtension;
|
||||
/**
|
||||
* Represents the main form extension, which loads the core functionality.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class CoreExtension extends AbstractExtension
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Form\Exception\TransformationFailedException;
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
|
||||
/**
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ArrayToPartsTransformer implements DataTransformerInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Transforms between a Boolean and a string.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class BooleanToStringTransformer implements DataTransformerInterface
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Form\DataTransformerInterface;
|
||||
/**
|
||||
* Passes a value through multiple value transformers
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class DataTransformerChain implements DataTransformerInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Transforms between a normalized time and a localized time string/array.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class DateTimeToArrayTransformer extends BaseDateTimeTransformer
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Transforms between a normalized time and a localized time string
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class DateTimeToLocalizedStringTransformer extends BaseDateTimeTransformer
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Transforms between a date string and a DateTime object
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class DateTimeToStringTransformer extends BaseDateTimeTransformer
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Transforms between a timestamp and a DateTime object
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class DateTimeToTimestampTransformer extends BaseDateTimeTransformer
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
* Transforms between an integer and a localized number with grouping
|
||||
* (each thousand) and comma separators.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class IntegerToLocalizedStringTransformer extends NumberToLocalizedStringTransformer
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Transforms between a normalized format and a localized money string.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class MoneyToLocalizedStringTransformer extends NumberToLocalizedStringTransformer
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
* Transforms between a number type and a localized number with grouping
|
||||
* (each thousand) and comma separators.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class NumberToLocalizedStringTransformer implements DataTransformerInterface
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Transforms between a normalized format (integer or float) and a percentage value.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
*/
|
||||
class PercentToLocalizedStringTransformer implements DataTransformerInterface
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Form\Exception\TransformationFailedException;
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
|
||||
/**
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ValueToDuplicatesTransformer implements DataTransformerInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface;
|
||||
* Takes care of converting the input from a list of checkboxes to a correctly
|
||||
* indexed array.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FixCheckboxInputListener implements EventSubscriberInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface;
|
||||
* Takes care of converting the input from a single radio button
|
||||
* to an array.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FixRadioInputListener implements EventSubscriberInterface
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
/**
|
||||
* Adds a protocol to a URL if it doesn't already have one.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FixUrlProtocolListener implements EventSubscriberInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
/**
|
||||
* Resize a collection form element based on the data sent from the client.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ResizeFormListener implements EventSubscriberInterface
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
/**
|
||||
* Trims string data
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class TrimListener implements EventSubscriberInterface
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ namespace Symfony\Component\Form\Extension\Csrf\CsrfProvider;
|
||||
* be bound to pages that are designed to handle the form, that is, that use
|
||||
* the same intention string to validate the CSRF token with isCsrfTokenValid().
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
interface CsrfProviderInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ namespace Symfony\Component\Form\Extension\Csrf\CsrfProvider;
|
||||
* This provider uses the session ID returned by session_id() as well as a
|
||||
* user-defined secret value to secure the CSRF token.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class DefaultCsrfProvider implements CsrfProviderInterface
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\HttpFoundation\Session\Session;
|
||||
*
|
||||
* @see DefaultCsrfProvider
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class SessionCsrfProvider extends DefaultCsrfProvider
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
* converted to the displayed data as described before.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class Form implements \IteratorAggregate, FormInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Form;
|
||||
/**
|
||||
* Wraps errors in forms
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FormError
|
||||
{
|
||||
|
@ -12,7 +12,7 @@
|
||||
namespace Symfony\Component\Form;
|
||||
|
||||
/**
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
final class FormEvents
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Form;
|
||||
/**
|
||||
* A form group bundling multiple form forms
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
interface FormInterface extends \ArrayAccess, \Traversable, \Countable
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ namespace Symfony\Component\Form\Guess;
|
||||
* Thus an instance with confidence HIGH_CONFIDENCE is more likely to be
|
||||
* correct than an instance with confidence LOW_CONFIDENCE.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
abstract class Guess
|
||||
{
|
||||
|
@ -15,7 +15,7 @@ namespace Symfony\Component\Form\Guess;
|
||||
* Contains a guessed class name and a list of options for creating an instance
|
||||
* of that class
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class TypeGuess extends Guess
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Form\Guess;
|
||||
/**
|
||||
* Contains a guessed value
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ValueGuess extends Guess
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ namespace Symfony\Component\Form;
|
||||
* When the transform() method is called, the reversed transformer's
|
||||
* reverseTransform() method is called and vice versa.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ReversedTransformer implements DataTransformerInterface
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
/**
|
||||
* Allows easy traversing of a property path
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class PropertyPath implements \IteratorAggregate, PropertyPathInterface
|
||||
{
|
||||
|
@ -15,7 +15,7 @@ namespace Symfony\Component\Form\Util;
|
||||
* Traverses a property path and provides additional methods to find out
|
||||
* information about the current element
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class PropertyPathIterator extends \ArrayIterator implements PropertyPathIteratorInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ namespace Symfony\Component\Form\Util;
|
||||
* If the iterator encounters a virtual field group, it enters the field
|
||||
* group and traverses its children as well.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class VirtualFormAwareIterator extends \ArrayIterator implements \RecursiveIterator
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
/**
|
||||
* Thrown when the access on a file was denied.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class AccessDeniedException extends FileException
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
/**
|
||||
* Thrown when an error occurred in the component File
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FileException extends \RuntimeException
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
/**
|
||||
* Thrown when a file was not found
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FileNotFoundException extends FileException
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
/**
|
||||
* Thrown when an error occurred during file upload
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class UploadException extends FileException
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\HttpFoundation\File\MimeType\ExtensionGuesser;
|
||||
/**
|
||||
* A file in the file system.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
|
||||
/**
|
||||
* Guesses the mime type with the binary "file" (only available on *nix)
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FileBinaryMimeTypeGuesser implements MimeTypeGuesserInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
|
||||
/**
|
||||
* Guesses the mime type using the PECL extension FileInfo
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface
|
||||
{
|
||||
|
@ -28,7 +28,7 @@ use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
|
||||
*
|
||||
* The last registered guesser is preferred over previously registered ones.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class MimeTypeGuesser implements MimeTypeGuesserInterface
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\HttpFoundation\File\MimeType;
|
||||
/**
|
||||
* Guesses the mime type of a file
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
interface MimeTypeGuesserInterface
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
|
||||
/**
|
||||
* A file uploaded through a form.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Florian Eckerstorfer <florian@eckerstorfer.org>
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
|
@ -23,7 +23,7 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
*
|
||||
* Controllers should be callables.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Component\HttpFoundation\Response;
|
||||
* setResponse() you can set a new response that will be returned to the
|
||||
* browser.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\HttpFoundation\Response;
|
||||
* current request. The propagation of this event is stopped as soon as a
|
||||
* response is set.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
* current request. The propagation of this event is stopped as soon as a
|
||||
* response is set.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
* exception will be thrown if no response is set during processing of this
|
||||
* event.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\EventDispatcher\Event;
|
||||
/**
|
||||
* Base class for events thrown in the HttpKernel component
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\HttpKernel;
|
||||
/**
|
||||
* Contains all events thrown in the HttpKernel component
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -12,7 +12,7 @@
|
||||
/**
|
||||
* Stub implementation for the Collator class of the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @see Symfony\Component\Collator\Stub\StubCollator
|
||||
*/
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
/**
|
||||
* Stub implementation for the IntlDateFormatter class of the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @see Symfony\Component\IntlDateFormatter\Stub\StubIntlDateFormatter
|
||||
*/
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
/**
|
||||
* Stub implementation for the Locale class of the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @see Symfony\Component\Locale\Stub\StubLocale
|
||||
*/
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
/**
|
||||
* Stub implementation for the NumberFormatter class of the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @see Symfony\Component\Locale\Stub\StubNumberFormatter
|
||||
*/
|
||||
|
||||
|
@ -14,7 +14,7 @@ use Symfony\Component\Locale\Stub\StubIntl;
|
||||
/**
|
||||
* Stub implementation for the intl_is_failure function of the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @param integer $errorCode The error code returned by intl_get_error_code()
|
||||
* @return Boolean Whether the error code indicates an error
|
||||
* @see Symfony\Component\Locale\Stub\StubIntl::isFailure
|
||||
@ -27,7 +27,7 @@ function intl_is_failure($errorCode)
|
||||
/**
|
||||
* Stub implementation for the intl_get_error_code function of the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @return Boolean The error code of the last intl function call or
|
||||
* StubIntl::U_ZERO_ERROR if no error occurred
|
||||
* @see Symfony\Component\Locale\Stub\StubIntl::getErrorCode
|
||||
@ -40,7 +40,7 @@ function intl_get_error_code()
|
||||
/**
|
||||
* Stub implementation for the intl_get_error_code function of the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @return Boolean The error message of the last intl function call or
|
||||
* "U_ZERO_ERROR" if no error occurred
|
||||
* @see Symfony\Component\Locale\Stub\StubIntl::getErrorMessage
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Locale\Stub;
|
||||
/**
|
||||
* Provides fake static versions of the global functions in the intl extension
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
abstract class StubIntl
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
|
||||
*
|
||||
* Constraint instances are immutable and serializable.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@ namespace Symfony\Component\Validator\Constraints;
|
||||
* Annotation for group sequences
|
||||
*
|
||||
* @Annotation
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Validator\Constraint;
|
||||
* Validates that a value is a valid IP address
|
||||
*
|
||||
* @Annotation
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Joseph Bielawski <stloyd@gmail.com>
|
||||
*
|
||||
* @api
|
||||
|
@ -23,7 +23,7 @@ use Symfony\Component\Validator\Mapping\MemberMetadata;
|
||||
* types of items.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class GraphWalker
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||
/**
|
||||
* Persists ClassMetadata instances in a cache
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
interface CacheInterface
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Validator\Exception\GroupDefinitionException;
|
||||
/**
|
||||
* Represents all the configured constraints on a given class.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
class ClassMetadata extends ElementMetadata
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Validator\Mapping\Cache\CacheInterface;
|
||||
/**
|
||||
* Implementation of ClassMetadataFactoryInterface
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ClassMetadataFactory implements ClassMetadataFactoryInterface
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||
* in <em>all</em> of these loaders, regardless of whether any of them was
|
||||
* successful or not.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class LoaderChain implements LoaderInterface
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface;
|
||||
* against constraints.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface;
|
||||
/**
|
||||
* Default implementation of ValidatorContextInterface
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ValidatorContext implements ValidatorContextInterface
|
||||
{
|
||||
|
@ -26,7 +26,7 @@ use Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface;
|
||||
* ->getValidator();
|
||||
* </code>
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
interface ValidatorContextInterface
|
||||
{
|
||||
|
@ -72,7 +72,7 @@ use Symfony\Component\Validator\Mapping\Loader\LoaderChain;
|
||||
*
|
||||
* ValidatorFactory instances should be cached and reused in your application.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ValidatorFactory implements ValidatorContextInterface
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Validator\Constraint;
|
||||
/**
|
||||
* Validates a given value.
|
||||
*
|
||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
Reference in New Issue
Block a user