Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AccessController.php
Go to the documentation of this file.
1 <?php
25 #require_once 'Zend/Memory/Container/Interface.php';
26 
45 {
51  private $_memContainer;
52 
53 
59  public function __construct(Zend_Memory_Container_Movable $memContainer)
60  {
61  $this->_memContainer = $memContainer;
62  }
63 
67  public function __destruct()
68  {
69  $this->_memContainer->destroy();
70  }
71 
72 
81  public function &getRef()
82  {
83  return $this->_memContainer->getRef();
84  }
85 
91  public function touch()
92  {
93  $this->_memContainer->touch();
94  }
95 
99  public function lock()
100  {
101  $this->_memContainer->lock();
102  }
103 
104 
108  public function unlock()
109  {
110  $this->_memContainer->unlock();
111  }
112 
118  public function isLocked()
119  {
120  return $this->_memContainer->isLocked();
121  }
122 
133  public function __get($property)
134  {
135  return $this->_memContainer->$property;
136  }
137 
145  public function __set($property, $value)
146  {
147  $this->_memContainer->$property = $value;
148  }
149 }
$value
Definition: gender.phtml:16
__construct(Zend_Memory_Container_Movable $memContainer)