/** * @param \RainLoop\Model\Domain $oDomain * * @return bool */ public function Save(\RainLoop\Model\Domain $oDomain) { $sRealFileName = $this->codeFileName($oDomain->Name()); if ($this->oCacher) { $this->oCacher->Delete($this->wildcardDomainsCacheKey()); } $mResult = \file_put_contents($this->sDomainPath . '/' . $sRealFileName . '.ini', $oDomain->ToIniString()); return \is_int($mResult) && 0 < $mResult; }