PHP Classes

File: vendor/wp-cli/php-cli-tools/examples/notify.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/wp-cli/php-cli-tools/examples/notify.php   Download  
File: vendor/wp-cli/php-cli-tools/examples/notify.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 3 days ago
Size: 446 bytes
 

Contents

Class file image Download
<?php

require_once 'common.php';

\
cli\line("========\nDots\n");

test_notify(new \cli\notify\Dots(' \cli\notify\Dots cycles through a set number of dots'));
test_notify(new \cli\notify\Dots(' You can disable the delay if ticks take longer than a few milliseconds', 5, 0), 10, 100000);

\
cli\line("\n========\nSpinner\n");

test_notify(new \cli\notify\Spinner(' \cli\notify\Spinner cycles through a set of characters to emulate a spinner'));