src/AssetConfig.php
protected function _parseExtensionDef($target)
    {
        $paths = array();
        if (!empty($target['paths'])) {
            $paths = array_map(array($this, '_replacePathConstants'), (array)$target['paths']);
        }
        $target['paths'] = $paths;
        if (!empty($target['cachePath'])) {
            $path = $this->_replacePathConstants($target['cachePath']);
            $target['cachePath'] = rtrim($path, '/') . '/';
        }
        return $target;
    }
protected function _parseExtensionDef($target)
    {
        $paths = array();
        if (!empty($target['paths'])) {
            $paths = array_map(array($this, '_replacePathConstants'), (array)$target['paths']);
        }
        $target['paths'] = $paths;
        if (!empty($target['cachePath'])) {
            $path = $this->_replacePathConstants($target['cachePath']);
            $target['cachePath'] = rtrim($path, '/') . '/';
        }
        return $target;
    }
protected function _parseExtensionDef ( $ target ) { $ paths = array ( ) ; if ( ! empty ( $ target [ 'paths' ] ) ) { $ paths = array_map ( array ( $ this , '_replacePathConstants' ) , ( array ) $ target [ 'paths' ] ) ; } $ target [ 'paths' ] = $ paths ; if ( ! empty ( $ target [ 'cachePath' ] ) ) { $ path = $ this -> _replacePathConstants ( $ target [ 'cachePath' ] ) ; $ target [ 'cachePath' ] = rtrim ( $ path , '/' ) . '/' ; } return $ target ; }
Parses paths in an extension definition

@param array $data Array of extension information.
@return array Array of build extension information with paths replaced.
Parses paths in an extension definition