src/Helpers/Form.php
protected function addIfIsset(array &$target, $key, array $source)
    {
        if (isset($source[$key])) {
            $target[$key] = $source[$key];
            return true;
        }
        return false;
    }
protected function addIfIsset(array &$target, $key, array $source)
    {
        if (isset($source[$key])) {
            $target[$key] = $source[$key];
            return true;
        }
        return false;
    }
protected function addIfIsset ( array & $ target , $ key , array $ source ) { if ( isset ( $ source [ $ key ] ) ) { $ target [ $ key ] = $ source [ $ key ] ; return true ; } return false ; }
Helper method to copy a value from one array to another array.

@param array $target
@param string $key
@param array $source

@return bool
True if the value is set and has been copied, false otherwise.
Helper method to copy a value from one array to another array .