public function __construct(AssetManager $scripts = null) { $this->scripts = $scripts ?: new AssetManager(); }