public function allocate($args)
    {
        $data = Ensure::Input($args);
        $url = URIResource::Make($this->path);
        $id = Locator::Find($this->client->post($url, $data->get()));

        $data->add("id", $id);
        return Constructor::Make($this, $data->get());
    }
public function allocate($args)
    {
        $data = Ensure::Input($args);
        $url = URIResource::Make($this->path);
        $id = Locator::Find($this->client->post($url, $data->get()));

        $data->add("id", $id);
        return Constructor::Make($this, $data->get());
    }
public function allocate ( $ args ) { $ data = Ensure :: Input ( $ args ) ; $ url = URIResource :: Make ( $ this -> path ) ; $ id = Locator :: Find ( $ this -> client -> post ( $ url , $ data -> get ( ) ) ) ; $ data -> add ( "id" , $ id ) ; return Constructor :: Make ( $ this , $ data -> get ( ) ) ; }
allocate a new number
number must be available
or warning will be thrown
@param args
number,
application (one you want to associate this number with)
fallback a fallback option if this isnt available
allocate a new number number must be available or warning will be thrown