While working on Yii framework 2.0, I typically include a CSS file by adding the following code snippet to assets/AppAsset.php:
public $css = [
'css/style.css',
];
Upon inspecting the element in the web browser, I notice the following code within the header tag:
<link href="/locahost/mywebsite/css/style.css" rel="stylesheet">
Now, I am interested in adding the print.css file to the webpage with the attribute media='print'. How can I modify the CSS link to include this specific media attribute within the Yii framework 2.0?