/**
* @param Func $function
* A function to add to the code base
*
* @return void
*/
public function addFunction(Func $function)
{
// Add it to the map of functions
$this->fqsen_func_map[$function->getFQSEN()] = $function;
// Add it to the set of functions and methods
$this->func_and_method_set->attach($function);
}