public function get_script($handle) { $handle = (string) $handle; if (empty($this->scripts[$handle])) { return null; } return $this->scripts[$handle]; }