[HttpFoundation] Moved licence

This commit is contained in:
Dominique Bongiraud 2011-01-29 15:45:10 +01:00 committed by Fabien Potencier
parent 55f38e10af
commit 996c2b0914
15 changed files with 67 additions and 48 deletions

View File

@ -1,5 +1,14 @@
<?php <?php
/*
* 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.
*/
namespace Symfony\Component\HttpFoundation; namespace Symfony\Component\HttpFoundation;
/** /**

View File

@ -1,15 +1,16 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\Exception;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\Exception;
/** /**
* Thrown when the access on a file was denied. * Thrown when the access on a file was denied.
* *

View File

@ -1,15 +1,16 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\Exception;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\Exception;
/** /**
* Thrown when an error occurred in the component File * Thrown when an error occurred in the component File
* *

View File

@ -1,15 +1,16 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\Exception;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\Exception;
/** /**
* Thrown when a file was not found * Thrown when a file was not found
* *

View File

@ -1,19 +1,20 @@
<?php <?php
/*
* 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.
*/
namespace Symfony\Component\HttpFoundation\File; namespace Symfony\Component\HttpFoundation\File;
use Symfony\Component\HttpFoundation\File\Exception\FileException; use Symfony\Component\HttpFoundation\File\Exception\FileException;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException; use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesser; use Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesser;
/*
* 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.
*/
/** /**
* A file in the file system * A file in the file system
* *

View File

@ -1,18 +1,19 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/** /**
* Guesses the mime type using the PHP function mime_content_type(). * Guesses the mime type using the PHP function mime_content_type().
* *

View File

@ -1,18 +1,19 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/** /**
* Guesses the mime type with the binary "file" (only available on *nix) * Guesses the mime type with the binary "file" (only available on *nix)
* *

View File

@ -1,18 +1,19 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/** /**
* Guesses the mime type using the PECL extension FileInfo * Guesses the mime type using the PECL extension FileInfo
* *

View File

@ -1,18 +1,19 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\MimeType;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
/** /**
* A singleton mime type guesser. * A singleton mime type guesser.
* *

View File

@ -1,15 +1,16 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File\MimeType;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File\MimeType;
/** /**
* Guesses the mime type of a file * Guesses the mime type of a file
* *

View File

@ -1,17 +1,18 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\File;
use Symfony\Component\HttpFoundation\File\Exception\FileException;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\File;
use Symfony\Component\HttpFoundation\File\Exception\FileException;
/** /**
* A file uploaded through a form. * A file uploaded through a form.
* *

View File

@ -1,7 +1,5 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\SessionStorage;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
* *
@ -11,6 +9,8 @@ namespace Symfony\Component\HttpFoundation\SessionStorage;
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\SessionStorage;
/** /**
* ArraySessionStorage. * ArraySessionStorage.
* *

View File

@ -1,7 +1,5 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\SessionStorage;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
* *
@ -11,6 +9,8 @@ namespace Symfony\Component\HttpFoundation\SessionStorage;
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\SessionStorage;
/** /**
* NativeSessionStorage. * NativeSessionStorage.
* *

View File

@ -1,7 +1,5 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\SessionStorage;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
* *
@ -11,6 +9,8 @@ namespace Symfony\Component\HttpFoundation\SessionStorage;
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\SessionStorage;
/** /**
* PdoSessionStorage. * PdoSessionStorage.
* *

View File

@ -1,7 +1,5 @@
<?php <?php
namespace Symfony\Component\HttpFoundation\SessionStorage;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.
* *
@ -11,6 +9,8 @@ namespace Symfony\Component\HttpFoundation\SessionStorage;
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\HttpFoundation\SessionStorage;
/** /**
* SessionStorageInterface. * SessionStorageInterface.
* *