getMethods() public method

Returns all methods
public getMethods ( ) : phootwork\collection\Map
return phootwork\collection\Map collection of methods
 private function sortMethods(AbstractPhpStruct $model)
 {
     if ($this->config->isSortingEnabled() && ($methodSorting = $this->config->getMethodSorting()) !== false) {
         if (is_string($methodSorting)) {
             $methodSorting = ComparatorFactory::createMethodComparator($methodSorting);
         }
         $model->getMethods()->sort($methodSorting);
     }
 }