mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 15:59:29 +00:00
Created post class and controller
This commit is contained in:
parent
c40b04aab7
commit
e8b448ea86
12
RestControllers/postsController.php
Normal file
12
RestControllers/postsController.php
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Restserver controller
|
||||||
|
*
|
||||||
|
* Posts controller
|
||||||
|
*
|
||||||
|
* @author Pierre HUBERT
|
||||||
|
*/
|
||||||
|
|
||||||
|
class postsController {
|
||||||
|
|
||||||
|
}
|
13
classes/components/posts.php
Normal file
13
classes/components/posts.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Posts management class
|
||||||
|
*
|
||||||
|
* @author Pierre HUBERT
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Posts {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//Register component
|
||||||
|
Components::register("posts", new Posts());
|
Loading…
Reference in New Issue
Block a user