Skip to content

Instantly share code, notes, and snippets.

@eS-IT
Created June 13, 2020 15:08
Show Gist options
  • Save eS-IT/26eaab1f6b8c1183b1ef64ec3ed46e92 to your computer and use it in GitHub Desktop.
Save eS-IT/26eaab1f6b8c1183b1ef64ec3ed46e92 to your computer and use it in GitHub Desktop.
<?php
// use simple strings for short caution message
$this->io->caution('Lorem ipsum dolor sit amet');
// consider using arrays when displaying long caution messages
$this->io->caution([
'Lorem ipsum dolor sit amet',
'Consectetur adipiscing elit',
'Aenean sit amet arcu vitae sem faucibus porta',
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment