for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* @author Serkin Akexander <[email protected]>
*/
namespace Volan;
class CustomArrayObject extends \ArrayObject
{
/**
* Gets key from current array.
* Excludes _type from final array.
*
* @return array
public function getArrayKeys()
$returnValue = [];
foreach (array_keys($this->getArrayCopy()) as $key) {
if ($key != '_type') {
$returnValue[] = $key;
}
return $returnValue;