Skip to content

Commit eb54203

Browse files
author
Emmanuel ROY
committed
update: docs of commands
1 parent 128e34d commit eb54203

6 files changed

Lines changed: 49 additions & 7 deletions

File tree

console/command/Action.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?php
22

33
namespace MVC\Command;
4-
4+
/**
5+
* Class Action
6+
* Commande Système du Framework permettant de gérer les actions
7+
* @package MVC\Command
8+
*/
59
class Action
610
{
11+
/**
12+
* Méthode permettant d'afficher l'aide de la commande
13+
*/
714
public static function help()
815
{
916
print "Cette commande permet de manipuler les actions du framework\n\n";

console/command/Cache.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?php
22

33
namespace MVC\Command;
4-
4+
/**
5+
* Class Cache
6+
* Commande Système du Framework permettant de gérer le cache
7+
* @package MVC\Command
8+
*/
59
class Cache
610
{
11+
/**
12+
* Méthode permettant d'afficher l'aide de la commande
13+
*/
714
public static function help()
815
{
916
print "Cette commande permet de vider le cache du framework\n\n";

console/command/Conduit.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?php
22

33
namespace MVC\Command;
4-
4+
/**
5+
* Class Conduit
6+
* Commande Système du Framework permettant de gérer les conduits
7+
* @package MVC\Command
8+
*/
59
class Conduit
610
{
11+
/**
12+
* Méthode permettant d'afficher l'aide de la commande
13+
*/
714
public static function help()
815
{
916
print "Cette commande permet de manipuler les conduits du framework\n\n";

console/command/Module.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?php
22

33
namespace MVC\Command;
4-
4+
/**
5+
* Class Module
6+
* Commande Système du Framework permettant de gérer les modules
7+
* @package MVC\Command
8+
*/
59
class Module
610
{
11+
/**
12+
* Méthode permettant d'afficher l'aide de la commande
13+
*/
714
public static function help()
815
{
916
print "Cette commande permet de manipuler les modules du framework\n\n";

console/command/Page.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?php
22

33
namespace MVC\Command;
4-
4+
/**
5+
* Class Page
6+
* Commande Système du Framework permettant de gérer les pages
7+
* @package MVC\Command
8+
*/
59
class Page
610
{
11+
/**
12+
* Méthode permettant d'afficher l'aide de la commande
13+
*/
714
public static function help()
815
{
916
print "Cette commande permet de manipuler les pages du framework\n\n";

console/command/Symfony.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?php
22

33
namespace MVC\Command;
4-
4+
/**
5+
* Class Symfony
6+
* Commande Système du Framework permettant de gèrer les modules Symfony
7+
* @package MVC\Command
8+
*/
59
class Symfony
610
{
11+
/**
12+
* Méthode permettant d'afficher l'aide de la commande
13+
*/
714
public static function help()
815
{
916
print "explaination of the command\n\n";
@@ -12,6 +19,6 @@ public static function help()
1219
public static function stabilize()
1320
{
1421
print "stabilize symfony module...\n\n";
15-
$symfony_module = shell_exec('sudo cp '.CONSOLE_PATH.'/skel/symfony '.VENDOR_PATH.' -Rf');
22+
//$symfony_module = shell_exec('sudo cp '.CONSOLE_PATH.'/skel/symfony '.VENDOR_PATH.' -Rf');
1623
}
1724
}

0 commit comments

Comments
 (0)