protected function load()
    {
        $data = array();

        /** @var LoaderInterface $loader */
        foreach ($this->loaders as $loader) {
            try {
                $data = array_merge($data, $loader->load());

                if ($loader->stopPropagation()) {
                    break;
                }
            } catch (LoaderException $e) {
                $this->getLogger()->error($e->getMessage());
            }
        }

        return $data;
    }
protected function load()
    {
        $data = array();

        /** @var LoaderInterface $loader */
        foreach ($this->loaders as $loader) {
            try {
                $data = array_merge($data, $loader->load());

                if ($loader->stopPropagation()) {
                    break;
                }
            } catch (LoaderException $e) {
                $this->getLogger()->error($e->getMessage());
            }
        }

        return $data;
    }
protected function load ( ) { $ data = array ( ) ; /** @var LoaderInterface $loader */ foreach ( $ this -> loaders as $ loader ) { try { $ data = array_merge ( $ data , $ loader -> load ( ) ) ; if ( $ loader -> stopPropagation ( ) ) { break ; } } catch ( LoaderException $ e ) { $ this -> getLogger ( ) -> error ( $ e -> getMessage ( ) ) ; } } return $ data ; }
Loads and aggregates information from each registered loader.

@return array
Loads and aggregates information from each registered loader .