public function createApplicationFromRepo($source, $options = array())
    {
        $options = array_merge($options, array(
            'create_method' => 'remote_repo',
            'repo' => $source,
        ));

        return $this->createApplication($options);
    }
public function createApplicationFromRepo($source, $options = array())
    {
        $options = array_merge($options, array(
            'create_method' => 'remote_repo',
            'repo' => $source,
        ));

        return $this->createApplication($options);
    }
public function createApplicationFromRepo ( $ source , $ options = array ( ) ) { $ options = array_merge ( $ options , array ( 'create_method' => 'remote_repo' , 'repo' => $ source , ) ) ; return $ this -> createApplication ( $ options ) ; }
Create application using GitHub repository

@link http://docs.build.phonegap.com/en_US/developer_api_write.md.html#_post_https_build_phonegap_com_api_v1_apps

@param string $source - GitHub repository
@param array $options - additional options, see details in API docs

@return mixed: array on success | false on fail
Create application using GitHub repository