src/Common/Helper/ArrayHelper.php
public static function arrayExtractProperty(array $aInput, $sProperty)
    {
        $aOutput = [];
        foreach ($aInput as $mItem) {
            $aItem = (array) $mItem;
            if (array_key_exists($sProperty, $aItem)) {
                $aOutput[] = $aItem[$sProperty];
            }
        }
        return $aOutput;
    }
public static function arrayExtractProperty(array $aInput, $sProperty)
    {
        $aOutput = [];
        foreach ($aInput as $mItem) {
            $aItem = (array) $mItem;
            if (array_key_exists($sProperty, $aItem)) {
                $aOutput[] = $aItem[$sProperty];
            }
        }
        return $aOutput;
    }
public static function arrayExtractProperty ( array $ aInput , $ sProperty ) { $ aOutput = [ ] ; foreach ( $ aInput as $ mItem ) { $ aItem = ( array ) $ mItem ; if ( array_key_exists ( $ sProperty , $ aItem ) ) { $ aOutput [ ] = $ aItem [ $ sProperty ] ; } } return $ aOutput ; }
Extracts the value of properties from a multi-dimensional array into an array of those values

@param array  $aInput    The array to iterate over
@param string $sProperty The property to extract

@return array
Extracts the value of properties from a multi - dimensional array into an array of those values