/** * @TODO [ ] connect to WriteContent * @param string $content */ public function setContents($content) { $this->setContent($content); StaticContent::$content = $content; $this->sendThenDisconnect('contentout', $content); }
public function __invoke($data) { StaticContent::$content = $data; $this->sendThenDisconnect('out', $data); }