public function getData()
    {
        try {
            $this->parse();
            $organized_statements = array();
            foreach ($this->dependencies as $name=>$preset) {
                foreach ($preset->getStatements() as $type=>$statements) {
                    if (!isset($organized_statements[$type])) {
                        $organized_statements[$type] = array();
                    }
                    foreach ($statements as $statement) {
                        $organized_statements[$type][] = $statement;
                    }
                }
            }
            foreach ($organized_statements as $type=>$stacks) {
                $organized_statements[$type] = $preset->getOrderedStatements($stacks);
            }
        } catch (\Exception $e) {
            throw $e;
        }
        return $organized_statements;
    }
public function getData()
    {
        try {
            $this->parse();
            $organized_statements = array();
            foreach ($this->dependencies as $name=>$preset) {
                foreach ($preset->getStatements() as $type=>$statements) {
                    if (!isset($organized_statements[$type])) {
                        $organized_statements[$type] = array();
                    }
                    foreach ($statements as $statement) {
                        $organized_statements[$type][] = $statement;
                    }
                }
            }
            foreach ($organized_statements as $type=>$stacks) {
                $organized_statements[$type] = $preset->getOrderedStatements($stacks);
            }
        } catch (\Exception $e) {
            throw $e;
        }
        return $organized_statements;
    }
public function getData ( ) { try { $ this -> parse ( ) ; $ organized_statements = array ( ) ; foreach ( $ this -> dependencies as $ name => $ preset ) { foreach ( $ preset -> getStatements ( ) as $ type => $ statements ) { if ( ! isset ( $ organized_statements [ $ type ] ) ) { $ organized_statements [ $ type ] = array ( ) ; } foreach ( $ statements as $ statement ) { $ organized_statements [ $ type ] [ ] = $ statement ; } } } foreach ( $ organized_statements as $ type => $ stacks ) { $ organized_statements [ $ type ] = $ preset -> getOrderedStatements ( $ stacks ) ; } } catch ( \ Exception $ e ) { throw $ e ; } return $ organized_statements ; }
Return the parsed and transformed statement array

@return  array
@throws  \Exception : any caught exception thrown by `self::parse()`
@see     self::parse()
Return the parsed and transformed statement array