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

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
Conflicts:
	library/Zend/Soap/Wsdl.php
	tests/Zend/Soap/Server/DocumentLiteralWrapperTest.php
	tests/Zend/Soap/WsdlTest.php
  • Loading branch information
Show file tree
Hide file tree
Showing 17 changed files with 258 additions and 453 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zendframework/zend-memory",
"description": "Zend\\Memory component",
"description": " ",
"license": "BSD-3-Clause",
"keywords": [
"zf2",
Expand All @@ -13,7 +13,7 @@
}
},
"require": {
"php": ">=5.3.23"
"php": ">=5.3.3"
},
"require-dev": {
"zendframework/zend-cache": "self.version",
Expand Down
22 changes: 5 additions & 17 deletions src/Container/AbstractContainer.php
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 license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Memory
* @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-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/

namespace Zend\Memory\Container;
Expand All @@ -25,8 +15,6 @@
*
* @category Zend
* @package Zend_Memory
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class AbstractContainer implements ContainerInterface
{
Expand Down
46 changes: 17 additions & 29 deletions src/Container/AccessController.php
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 license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Memory
* @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-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/

namespace Zend\Memory\Container;
Expand All @@ -27,15 +17,13 @@
* So container objects always have at least one reference and can't be automatically destroyed.
*
* This class is intended to be an userland proxy to memory container object.
* It's not referenced by memory manager and class destructor is invoked immidiately after gouing
* It's not referenced by memory manager and class destructor is invoked immediately after going
* out of scope or unset operation.
*
* Class also provides Zend\Memory\Container interface and works as proxy for such cases.
*
* @category Zend
* @package Zend_Memory
* @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 AccessController implements ContainerInterface
{
Expand All @@ -44,7 +32,7 @@ class AccessController implements ContainerInterface
*
* @var Movable
*/
private $_memContainer;
private $memContainer;


/**
Expand All @@ -54,15 +42,15 @@ class AccessController implements ContainerInterface
*/
public function __construct(Movable $memContainer)
{
$this->_memContainer = $memContainer;
$this->memContainer = $memContainer;
}

/**
* Object destructor
*/
public function __destruct()
{
$this->_memContainer->destroy();
$this->memContainer->destroy();
}


Expand All @@ -76,7 +64,7 @@ public function __destruct()
*/
public function &getRef()
{
return $this->_memContainer->getRef();
return $this->memContainer->getRef();
}

/**
Expand All @@ -86,15 +74,15 @@ public function &getRef()
*/
public function touch()
{
$this->_memContainer->touch();
$this->memContainer->touch();
}

/**
* Lock object in memory.
*/
public function lock()
{
$this->_memContainer->lock();
$this->memContainer->lock();
}


Expand All @@ -103,17 +91,17 @@ public function lock()
*/
public function unlock()
{
$this->_memContainer->unlock();
$this->memContainer->unlock();
}

/**
* Return true if object is locked
*
* @return boolean
* @return bool
*/
public function isLocked()
{
return $this->_memContainer->isLocked();
return $this->memContainer->isLocked();
}

/**
Expand All @@ -127,7 +115,7 @@ public function isLocked()
*/
public function __get($property)
{
return $this->_memContainer->$property;
return $this->memContainer->$property;
}

/**
Expand All @@ -138,6 +126,6 @@ public function __get($property)
*/
public function __set($property, $value)
{
$this->_memContainer->$property = $value;
$this->memContainer->$property = $value;
}
}
25 changes: 6 additions & 19 deletions src/Container/ContainerInterface.php
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 license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Memory
* @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-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/

namespace Zend\Memory\Container;
Expand All @@ -25,8 +15,6 @@
*
* @category Zend
* @package Zend_Memory
* @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 ContainerInterface
{
Expand Down Expand Up @@ -60,8 +48,7 @@ public function unlock();
/**
* Return true if object is locked
*
* @return boolean
* @return bool
*/
public function isLocked();
}

24 changes: 6 additions & 18 deletions src/Container/Locked.php
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 license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Memory
* @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-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/

namespace Zend\Memory\Container;
Expand All @@ -27,8 +17,6 @@
*
* @category Zend
* @package Zend_Memory
* @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 Locked extends AbstractContainer
{
Expand Down Expand Up @@ -69,7 +57,7 @@ public function unlock()
/**
* Return true if object is locked
*
* @return boolean
* @return bool
*/
public function isLocked()
{
Expand Down
Loading

0 comments on commit 12f1dca

Please sign in to comment.