1
0
Fork 0
mirror of https://github.com/RaspbianFrance/raspisms.git synced 2025-05-01 22:06:28 +02:00
raspisms/controllers/internals/Console.php

29 lines
596 B
PHP
Executable file

<?php
/*
* This file is part of RaspiSMS.
*
* (c) Pierre-Lin Bonnemaison <plebwebsas@gmail.com>
*
* This source file is subject to the GPL-3.0 license that is bundled
* with this source code in the file LICENSE.
*/
namespace controllers\internals;
/**
* Class to call the console scripts
*/
class Console extends \descartes\InternalController
{
public function server ()
{
$server = new \daemons\Server();
}
public function phone ($number)
{
$server = new \daemons\Phone($number);
}
}