public function getRequest( array $requestPostData )
    {
        $requestProperties = array(
            'username'    => $requestPostData[1],
            'password'    => $requestPostData[2],
            'title'       => $requestPostData[3]['title'],
            'description' => $requestPostData[3]['description'],
            'keywords'    => $requestPostData[3]['mt_keywords'],
            'status'      => $requestPostData[3]['post_status'],
        );

        return new Request( $requestProperties );
    }
public function getRequest( array $requestPostData )
    {
        $requestProperties = array(
            'username'    => $requestPostData[1],
            'password'    => $requestPostData[2],
            'title'       => $requestPostData[3]['title'],
            'description' => $requestPostData[3]['description'],
            'keywords'    => $requestPostData[3]['mt_keywords'],
            'status'      => $requestPostData[3]['post_status'],
        );

        return new Request( $requestProperties );
    }
public function getRequest ( array $ requestPostData ) { $ requestProperties = array ( 'username' => $ requestPostData [ 1 ] , 'password' => $ requestPostData [ 2 ] , 'title' => $ requestPostData [ 3 ] [ 'title' ] , 'description' => $ requestPostData [ 3 ] [ 'description' ] , 'keywords' => $ requestPostData [ 3 ] [ 'mt_keywords' ] , 'status' => $ requestPostData [ 3 ] [ 'post_status' ] , ) ; return new Request ( $ requestProperties ) ; }
Creates an IFTTT Request from XML RPC post data

@param array $requestPostData

@return \BD\Bundle\IFTTTBundle\IFTTT\Request
Creates an IFTTT Request from XML RPC post data