plugin/competency/Manager/CompetencyManager.php
public function listFrameworks($shortArrays = false)
    {
        $frameworks = $this->competencyRepo->findBy(['parent' => null]);

        return !$shortArrays ?
            $frameworks :
            array_map(function ($framework) {
                return [
                    'id' => $framework->getId(),
                    'name' => $framework->getName(),
                    'description' => $framework->getDescription(),
                ];
            }, $frameworks);
    }
public function listFrameworks($shortArrays = false)
    {
        $frameworks = $this->competencyRepo->findBy(['parent' => null]);

        return !$shortArrays ?
            $frameworks :
            array_map(function ($framework) {
                return [
                    'id' => $framework->getId(),
                    'name' => $framework->getName(),
                    'description' => $framework->getDescription(),
                ];
            }, $frameworks);
    }
public function listFrameworks ( $ shortArrays = false ) { $ frameworks = $ this -> competencyRepo -> findBy ( [ 'parent' => null ] ) ; return ! $ shortArrays ? $ frameworks : array_map ( function ( $ framework ) { return [ 'id' => $ framework -> getId ( ) , 'name' => $ framework -> getName ( ) , 'description' => $ framework -> getDescription ( ) , ] ; } , $ frameworks ) ; }
Returns the list of registered frameworks.

@param bool $shortArrays Whether full entities or minimal arrays should be returned

@return array
Returns the list of registered frameworks .