public function createApplicationFromFile($source, $options = array())
    {
        $options = array_merge($options, array(
            'create_method' => 'file',
            'file' => $this->file($source),
        ));

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

        return $this->createApplication($options);
    }
public function createApplicationFromFile ( $ source , $ options = array ( ) ) { $ options = array_merge ( $ options , array ( 'create_method' => 'file' , 'file' => $ this -> file ( $ source ) , ) ) ; return $ this -> createApplication ( $ options ) ; }
Create application from file

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

@param string $source - file path
@param array $options - additional options, see details in API docs

@return mixed: array on success | false on fail
Create application from file