PHP Classes
elePHPant
Icontem

File: vendor/jakub-onderka/php-console-highlighter/examples/whole_file.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena  >  PHP Pokemon Script  >  vendor/jakub-onderka/php-console-highlighter/examples/whole_file.php  >  Download  
File: vendor/jakub-onderka/php-console-highlighter/examples/whole_file.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 1 year ago
Size: 295 bytes
 

Contents

Class file image Download
<?php
use JakubOnderka\PhpConsoleColor\ConsoleColor;
use
JakubOnderka\PhpConsoleHighlighter\Highlighter;

require
__DIR__ . '/../vendor/autoload.php';

$highlighter = new Highlighter(new ConsoleColor());

$fileContent = file_get_contents(__FILE__);
echo
$highlighter->getWholeFile($fileContent);