src/Daursu/Xero/models/BaseModel.php
public function create($params = array())
	{
		$response = $this->api->request('PUT', $this->getUrl(), $params, $this->toXML(), $this->format);
		return $this->parseResponse($response) ? true : false;
	}
public function create($params = array())
	{
		$response = $this->api->request('PUT', $this->getUrl(), $params, $this->toXML(), $this->format);
		return $this->parseResponse($response) ? true : false;
	}
public function create ( $ params = array ( ) ) { $ response = $ this -> api -> request ( 'PUT' , $ this -> getUrl ( ) , $ params , $ this -> toXML ( ) , $ this -> format ) ; return $ this -> parseResponse ( $ response ) ? true : false ; }
Creates a new entity in Xero

@param  array $data
@return boolean
Creates a new entity in Xero