PHP Classes

File: bin/generate-transfer

Recommend this page to a friend!
  Classes of Sergii Pryz   Transfer Object   bin/generate-transfer   Download  
File: bin/generate-transfer
Role: Example script
Content type: text/plain
Description: Example script
Class: Transfer Object
Generate transfer objects using property hooks
Author: By
Last change:
Date: 13 days ago
Size: 462 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php

declare(strict_types=1);

use
Picamator\TransferObject\Command\TransferGeneratorCommand;
use
Symfony\Component\Console\Application;

include
$_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';

$application = new Application(name:'TransferObject', version:'current');
$command = new TransferGeneratorCommand();

$application->add($command);

$application->setDefaultCommand($command->getName(), true);
$application->run();