public function js($url, $inline = true, $options = []) { $options = array_merge(['inline' => $inline], $options); $result = $this->BcHtml->script($url, $options); if ($inline) { echo $result; } }