/** * Register CSS code * * @access public * * @param string $source file name * @param bool $isHead is head block * * @return void */ public function registerCss($source, $isHead = true) { $this->styleScripts[] = ['isHead' => $isHead, 'body' => Html::css($source)]; }