public function setData($Data)
    {
        if (! is_object($Data) || ! $Data instanceof Data) {
            throw new \InvalidArgumentException(
                'The Data Interface must be a valid Data Object'
            );
        }
        $this->Data = $Data;

        return true;
    }
public function setData($Data)
    {
        if (! is_object($Data) || ! $Data instanceof Data) {
            throw new \InvalidArgumentException(
                'The Data Interface must be a valid Data Object'
            );
        }
        $this->Data = $Data;

        return true;
    }
public function setData ( $ Data ) { if ( ! is_object ( $ Data ) || ! $ Data instanceof Data ) { throw new \ InvalidArgumentException ( 'The Data Interface must be a valid Data Object' ) ; } $ this -> Data = $ Data ; return true ; }
check and set the form data interface

@param   Object  Instance of an Data Interface
@return  bool
@throws  \InvalidArgumentException
check and set the form data interface