plugin/competency/Manager/CompetencyManager.php
public function importFramework($frameworkData)
    {
        $framework = $this->converter->convertToEntity($frameworkData);

        $this->om->persist($framework);
        $this->om->flush();

        return $framework;
    }
public function importFramework($frameworkData)
    {
        $framework = $this->converter->convertToEntity($frameworkData);

        $this->om->persist($framework);
        $this->om->flush();

        return $framework;
    }
public function importFramework ( $ frameworkData ) { $ framework = $ this -> converter -> convertToEntity ( $ frameworkData ) ; $ this -> om -> persist ( $ framework ) ; $ this -> om -> flush ( ) ; return $ framework ; }
Imports a competency framework described in a JSON string.

@param string $frameworkData

@return Competency
Imports a competency framework described in a JSON string .