public function cache($identifier) { return array_key_exists($identifier, $this->snippets) ? $this->snippets[$identifier] : null; }