Skip to content

Instantly share code, notes, and snippets.

Created October 12, 2017 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/03eff6a0a8c42bbfc2c30d80cc915eff to your computer and use it in GitHub Desktop.
Save anonymous/03eff6a0a8c42bbfc2c30d80cc915eff to your computer and use it in GitHub Desktop.
$ent = $this->Settings->newEntity($this->request->data());
// $ent = $this->Settings->patchEntity($ent, $this->request->data());
$this->Settings->save($ent);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment