src/mg/Ding/Bean/Provider/Xml.php
public function getAspects()
    {
        $aspects = array();
        $this->_load();
        foreach($this->_simpleXml as $xmlName => $xml) {
            $simpleXmlAspect = $xml->xpath("/beans/aspect");
            if (!empty($simpleXmlAspect)) {
                foreach ($simpleXmlAspect as $aspect) {
                    $aspects[] = $this->_loadAspect($aspect);
                }
            }
        }
        return $aspects;
    }
public function getAspects()
    {
        $aspects = array();
        $this->_load();
        foreach($this->_simpleXml as $xmlName => $xml) {
            $simpleXmlAspect = $xml->xpath("/beans/aspect");
            if (!empty($simpleXmlAspect)) {
                foreach ($simpleXmlAspect as $aspect) {
                    $aspects[] = $this->_loadAspect($aspect);
                }
            }
        }
        return $aspects;
    }
(non-PHPdoc)
@see Ding\Aspect.IAspectProvider::getAspects()