Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2
Browse files Browse the repository at this point in the history
Fixed files permissions
  • Loading branch information
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 41 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.4-dev",
"dev-develop": "2.5-dev"
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
},
"autoload-dev": {
Expand Down
4 changes: 0 additions & 4 deletions src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri\Exception;

/**
* Exception for Zend_Uri
*
* @category Zend
* @package Zend_Uri
*/
interface ExceptionInterface
{}
1 change: 0 additions & 1 deletion src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri\Exception;
Expand Down
4 changes: 0 additions & 4 deletions src/Exception/InvalidUriException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri\Exception;

/**
* Exceptions for Zend_Uri
*
* @category Zend
* @package Zend_Uri
*/
class InvalidUriException extends InvalidArgumentException implements ExceptionInterface
{}
6 changes: 0 additions & 6 deletions src/Exception/InvalidUriPartException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri\Exception;

/**
* @category Zend
* @package Zend_Uri
* @subpackage Exception
*/
class InvalidUriPartException extends InvalidArgumentException
{
/**
Expand Down
4 changes: 0 additions & 4 deletions src/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri;
Expand All @@ -14,9 +13,6 @@
* File URI handler
*
* The 'file:...' scheme is loosely defined in RFC-1738
*
* @category Zend
* @package Zend_Uri
*/
class File extends Uri
{
Expand Down
4 changes: 0 additions & 4 deletions src/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri;

/**
* HTTP URI handler
*
* @category Zend
* @package Zend_Uri
*/
class Http extends Uri
{
Expand Down
4 changes: 0 additions & 4 deletions src/Mailto.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri;
Expand All @@ -17,9 +16,6 @@
* "Mailto" URI handler
*
* The 'mailto:...' scheme is loosely defined in RFC-1738
*
* @category Zend
* @package Zend_Uri
*/
class Mailto extends Uri
{
Expand Down
4 changes: 0 additions & 4 deletions src/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri;
Expand All @@ -15,9 +14,6 @@

/**
* Generic URI handler
*
* @category Zend
* @package Zend_Uri
*/
class Uri implements UriInterface
{
Expand Down
21 changes: 17 additions & 4 deletions src/UriFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri;
Expand All @@ -21,9 +20,6 @@
*
* Note that this class contains only static methods and should not be
* instantiated
*
* @category Zend
* @package Zend_Uri
*/
abstract class UriFactory
{
Expand Down Expand Up @@ -66,6 +62,23 @@ public static function unregisterScheme($scheme)
}
}

/**
* Get the class name for a registered scheme
*
* If provided scheme is not registered, will return NULL
*
* @param string $scheme
* @return string|null
*/
public static function getRegisteredSchemeClass($scheme)
{
if (isset(static::$schemeClasses[$scheme])) {
return static::$schemeClasses[$scheme];
} else {
return null;
}
}

/**
* Create a URI from a string
*
Expand Down
4 changes: 0 additions & 4 deletions src/UriInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Uri
*/

namespace Zend\Uri;

/**
* Interface defining an URI
*
* @category Zend
* @package Zend_Uri
*/
interface UriInterface
{
Expand Down

0 comments on commit 54ababd

Please sign in to comment.