First PUsh
This commit is contained in:
29
src/API/API.php
Normal file
29
src/API/API.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace CAUProject3Contact\API;
|
||||
|
||||
use CAUProject3Contact\Controller\Controller;
|
||||
|
||||
class API extends Controller {
|
||||
|
||||
private $declaredFunctions = [];
|
||||
|
||||
/**
|
||||
* API constructor.
|
||||
*
|
||||
* @param array $declaredFunctions
|
||||
*/
|
||||
public function __construct( array $declaredFunctions ) {
|
||||
parent::__construct();
|
||||
$this->declaredFunctions = $declaredFunctions;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getDeclaredFunctions() {
|
||||
return $this->declaredFunctions;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user