This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'zf2/master'
- Loading branch information
61 parents
6149722
+
fb18be8
+
2f56d24
+
256686b
+
3cc679d
+
da18011
+
93ac388
+
57ef4a3
+
2f2851a
+
2ec1dbc
+
9a48955
+
b6b50b9
+
a16c105
+
a634561
+
779d017
+
e998d74
+
e0c0b66
+
677bd85
+
bd0abb6
+
7e23a9b
+
76e9a65
+
9666e65
+
0fb7a6e
+
b476244
+
a566cb1
+
84a7972
+
f6501d5
+
74b0454
+
ea99bf1
+
e2703e7
+
90db7ae
+
b2f5380
+
d6ee2dd
+
2dae9df
+
15a2e1f
+
00d7ef1
+
88e29ab
+
04f5596
+
d4b9187
+
83cb40e
+
e80536c
+
8344c40
+
314ef07
+
f8fe680
+
7d99158
+
5a453b7
+
16b512c
+
e13bb78
+
f8c8e84
+
0e833f2
+
463bd0b
+
e23f919
+
c0f3fe1
+
9af4d23
+
fbdafd9
+
2cfde08
+
5ed923d
+
7bfa121
+
0b38f0b
+
1914ec7
+
47650bd
commit 67d18da
Showing
118 changed files
with
1,807 additions
and
3,781 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,18 @@ | ||
<?php | ||
/** | ||
* Zend Framework | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* LICENSE | ||
* | ||
* This source file is subject to the new BSD license that is bundled | ||
* with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://framework.zend.com/license/new-bsd | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @category Zend | ||
* @package Zend_Mail | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Mail | ||
*/ | ||
|
||
namespace Zend\Mail; | ||
|
||
/** | ||
* @category Zend | ||
* @package Zend_Mail | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
class Address implements Address\AddressInterface | ||
{ | ||
|
@@ -54,7 +42,7 @@ public function __construct($email, $name = null) | |
|
||
/** | ||
* Retrieve email | ||
* | ||
* | ||
* @return string | ||
*/ | ||
public function getEmail() | ||
|
@@ -64,7 +52,7 @@ public function getEmail() | |
|
||
/** | ||
* Retrieve name | ||
* | ||
* | ||
* @return string | ||
*/ | ||
public function getName() | ||
|
@@ -74,7 +62,7 @@ public function getName() | |
|
||
/** | ||
* String representation of address | ||
* | ||
* | ||
* @return string | ||
*/ | ||
public function toString() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,11 @@ | ||
<?php | ||
/** | ||
* Zend Framework | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* LICENSE | ||
* | ||
* This source file is subject to the new BSD license that is bundled | ||
* with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://framework.zend.com/license/new-bsd | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @category Zend | ||
* @package Zend_Mail | ||
* @subpackage Address | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Mail | ||
*/ | ||
|
||
namespace Zend\Mail\Address; | ||
|
@@ -25,8 +14,6 @@ | |
* @category Zend | ||
* @package Zend_Mail | ||
* @subpackage Address | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
interface AddressInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
<?php | ||
/** | ||
* Zend Framework | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* LICENSE | ||
* | ||
* This source file is subject to the new BSD license that is bundled | ||
* with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://framework.zend.com/license/new-bsd | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @category Zend | ||
* @package Zend_Mail | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Mail | ||
*/ | ||
|
||
namespace Zend\Mail; | ||
|
@@ -26,14 +16,12 @@ | |
/** | ||
* @category Zend | ||
* @package Zend_Mail | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
class AddressList implements Countable, Iterator | ||
{ | ||
/** | ||
* List of Address objects we're managing | ||
* | ||
* | ||
* @var array | ||
*/ | ||
protected $addresses = array(); | ||
|
@@ -97,9 +85,9 @@ public function addMany(array $addresses) | |
} | ||
|
||
/** | ||
* Merge another address list into this one | ||
* | ||
* @param AddressList $addressList | ||
* Merge another address list into this one | ||
* | ||
* @param AddressList $addressList | ||
* @return AddressList | ||
*/ | ||
public function merge(AddressList $addressList) | ||
|
@@ -112,8 +100,8 @@ public function merge(AddressList $addressList) | |
|
||
/** | ||
* Does the email exist in this list? | ||
* | ||
* @param string $email | ||
* | ||
* @param string $email | ||
* @return bool | ||
*/ | ||
public function has($email) | ||
|
@@ -124,8 +112,8 @@ public function has($email) | |
|
||
/** | ||
* Get an address by email | ||
* | ||
* @param string $email | ||
* | ||
* @param string $email | ||
* @return boolean|Address\AddressInterface | ||
*/ | ||
public function get($email) | ||
|
@@ -140,7 +128,7 @@ public function get($email) | |
|
||
/** | ||
* Delete an address from the list | ||
* | ||
* | ||
* @param string $email | ||
* @return bool | ||
*/ | ||
|
@@ -157,7 +145,7 @@ public function delete($email) | |
|
||
/** | ||
* Return count of addresses | ||
* | ||
* | ||
* @return int | ||
*/ | ||
public function count() | ||
|
@@ -179,7 +167,7 @@ public function rewind() | |
|
||
/** | ||
* Return current item in iteration | ||
* | ||
* | ||
* @return Address | ||
*/ | ||
public function current() | ||
|
@@ -189,7 +177,7 @@ public function current() | |
|
||
/** | ||
* Return key of current item of iteration | ||
* | ||
* | ||
* @return string | ||
*/ | ||
public function key() | ||
|
@@ -211,7 +199,7 @@ public function next() | |
|
||
/** | ||
* Is the current item of iteration valid? | ||
* | ||
* | ||
* @return bool | ||
*/ | ||
public function valid() | ||
|
@@ -221,10 +209,10 @@ public function valid() | |
} | ||
|
||
/** | ||
* Create an address object | ||
* | ||
* @param string $email | ||
* @param string|null $name | ||
* Create an address object | ||
* | ||
* @param string $email | ||
* @param string|null $name | ||
* @return Address | ||
*/ | ||
protected function createAddress($email, $name) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
<?php | ||
/** | ||
* Zend Framework | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* LICENSE | ||
* | ||
* This source file is subject to the new BSD license that is bundled | ||
* with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://framework.zend.com/license/new-bsd | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @category Zend | ||
* @package Zend_Mail | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Mail | ||
*/ | ||
|
||
namespace Zend\Mail\Exception; | ||
|
@@ -25,10 +15,8 @@ | |
* | ||
* @category Zend | ||
* @package Zend_Mail | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
class BadMethodCallException extends \BadMethodCallException implements | ||
class BadMethodCallException extends \BadMethodCallException implements | ||
ExceptionInterface | ||
{ | ||
} |
Oops, something went wrong.