for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace nebula\arrayobject;
use nebula\arrayobject\ArrayDotAccess;
/**
* 递归数组点获取类
*/
class RecursiveArrayDocAccess extends ArrayDotAccess
{
public function offsetGet($offset)
$value = parent::offsetGet($offset);
if (\is_array($value)) {
return new self($value);
}
return $value;