public function setBlocksWrite($state = true) { $state = $state ? 1 : 0; return $this->set(['blocks.write' => $state]); }