You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
469 B

1 year ago
<?php
use Fastknife\Domain\Factory;
require 'autoload.php';
$config = require '../src/config.php';
function showBlock()
{
global $config;
$factory = new Factory($config);
$blockImage = $factory->makeBlockImage();
$blockImage->run();
$blockImage->echo();
}
function showWord()
{
global $config;
$factory = new Factory($config);
$blockImage = $factory->makeWordImage();
$blockImage->run();
$blockImage->echo();
}
showWord();