application/Espo/Core/Utils/File/Manager.php
public function putPhpContents($path, $data, $withObjects = false)
    {
        return $this->putContents($path, $this->wrapForDataExport($data, $withObjects), LOCK_EX);
    }
public function putPhpContents($path, $data, $withObjects = false)
    {
        return $this->putContents($path, $this->wrapForDataExport($data, $withObjects), LOCK_EX);
    }
public function putPhpContents ( $ path , $ data , $ withObjects = false ) { return $ this -> putContents ( $ path , $ this -> wrapForDataExport ( $ data , $ withObjects ) , LOCK_EX ) ; }
Save PHP content to file

@param string | array $path
@param string $data

@return bool
Save PHP content to file