protected function defineKeys(&$subject, array $attributes, $value = null)
    {
        foreach ($attributes as $attribute) {
            $subject[$attribute] = $value;
        }
        return $this;
    }
protected function defineKeys(&$subject, array $attributes, $value = null)
    {
        foreach ($attributes as $attribute) {
            $subject[$attribute] = $value;
        }
        return $this;
    }
protected function defineKeys ( & $ subject , array $ attributes , $ value = null ) { foreach ( $ attributes as $ attribute ) { $ subject [ $ attribute ] = $ value ; } return $ this ; }
Define the given array of attributes as keys in the given subject.

@param array $subject
@param array $attributes
@param mixed|null $value
@return $this
Define the given array of attributes as keys in the given subject .