public function listDocumentRootReplaced()
    {
        if ($this->pathNameRecord == 'none') {
            throw new \LogicException(
                'Can\'t listDocumentRootReplaced() ' . (!$this->dirs ? 'filenames' : 'dirnames')
                . ' when items\' paths aren\'t recorded'
                . (!$this->requireUnique || !$this->itemValue ? '.' :
                    (', incompatible when both requireUnique is \'on\' and itemValue function defined.')
                )
            );
        }
        $utils = Utils::getInstance();
        $list = $this->getArrayCopy();
        if ($this->pathNameRecord == 'key') {
            $list = array_keys($list);
        }
        foreach ($list as &$pathname) {
            $pathname = $utils->pathReplaceDocumentRoot($pathname, Utils::DOCUMENT_ROOT_REPLACER, true);
        }
        unset($pathname);
        return $list;
    }
public function listDocumentRootReplaced()
    {
        if ($this->pathNameRecord == 'none') {
            throw new \LogicException(
                'Can\'t listDocumentRootReplaced() ' . (!$this->dirs ? 'filenames' : 'dirnames')
                . ' when items\' paths aren\'t recorded'
                . (!$this->requireUnique || !$this->itemValue ? '.' :
                    (', incompatible when both requireUnique is \'on\' and itemValue function defined.')
                )
            );
        }
        $utils = Utils::getInstance();
        $list = $this->getArrayCopy();
        if ($this->pathNameRecord == 'key') {
            $list = array_keys($list);
        }
        foreach ($list as &$pathname) {
            $pathname = $utils->pathReplaceDocumentRoot($pathname, Utils::DOCUMENT_ROOT_REPLACER, true);
        }
        unset($pathname);
        return $list;
    }
public function listDocumentRootReplaced ( ) { if ( $ this -> pathNameRecord == 'none' ) { throw new \ LogicException ( 'Can\'t listDocumentRootReplaced() ' . ( ! $ this -> dirs ? 'filenames' : 'dirnames' ) . ' when items\' paths aren\'t recorded' . ( ! $ this -> requireUnique || ! $ this -> itemValue ? '.' : ( ', incompatible when both requireUnique is \'on\' and itemValue function defined.' ) ) ) ; } $ utils = Utils :: getInstance ( ) ; $ list = $ this -> getArrayCopy ( ) ; if ( $ this -> pathNameRecord == 'key' ) { $ list = array_keys ( $ list ) ; } foreach ( $ list as & $ pathname ) { $ pathname = $ utils -> pathReplaceDocumentRoot ( $ pathname , Utils :: DOCUMENT_ROOT_REPLACER , true ) ; } unset ( $ pathname ) ; return $ list ; }
List all files|dirs' paths having document root replaced.

Not compatible with requireUnique + itemValue combined,
because then no record of files|dirs' paths.

@return array
Numerically indexed.

@throws \LogicException
If itemValue function set.
List all files|dirs paths having document root replaced .