public function setScriptUrl($value) { $this->_scriptUrl = $value === null ? null : '/' . trim($value, '/'); }