Add a lot
This commit is contained in:
@ -6,24 +6,24 @@ use CAUProject3Contact\Controller\Controller;
|
||||
|
||||
class API extends Controller {
|
||||
|
||||
private $declaredFunctions = [];
|
||||
private $declaredFunctions = [];
|
||||
|
||||
/**
|
||||
* API constructor.
|
||||
*
|
||||
* @param array $declaredFunctions
|
||||
*/
|
||||
public function __construct( array $declaredFunctions ) {
|
||||
parent::__construct();
|
||||
$this->declaredFunctions = $declaredFunctions;
|
||||
}
|
||||
/**
|
||||
* API constructor.
|
||||
*
|
||||
* @param array $declaredFunctions
|
||||
*/
|
||||
public function __construct( array $declaredFunctions ) {
|
||||
parent::__construct();
|
||||
$this->declaredFunctions = $declaredFunctions;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getDeclaredFunctions() {
|
||||
return $this->declaredFunctions;
|
||||
}
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getDeclaredFunctions() {
|
||||
return $this->declaredFunctions;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user