Saves a Profile.
Profile $profile A Profile instance:
Boolean
public function saveProfile(Profile $profile) {
if (!($ret = $this->storage
->write($profile)) && null !== $this->logger) {
$this->logger
->warn('Unable to store the profiler information.');
}
return $ret;
}