public function read($len = null)
    {
        if (FALSE === $this->getInitialized()) {
            $this->initialize();
            $this->setInitialized(TRUE);
        }

        $defaultConfiguration = '';

        if (-1 === version_compare($this->getTYPO3Version(), '0.0.0')) {
            throw new BuildException('You must pass a TYPO3 version via the corresponding parameter in your build file!');
        }

        while (($data = $this->in->read($len)) !== -1) {
            $defaultConfiguration .= $data;
        }

        if ('' === $defaultConfiguration) {
            return -1;
        }

        $this->setDefaultConfiguration($defaultConfiguration);

        $comments = $this->installTool->getDefaultConfigArrayComments($defaultConfiguration);

        $out = $this->createPropertyPathsFromCommentArray($comments);

        return $out;
    }
public function read($len = null)
    {
        if (FALSE === $this->getInitialized()) {
            $this->initialize();
            $this->setInitialized(TRUE);
        }

        $defaultConfiguration = '';

        if (-1 === version_compare($this->getTYPO3Version(), '0.0.0')) {
            throw new BuildException('You must pass a TYPO3 version via the corresponding parameter in your build file!');
        }

        while (($data = $this->in->read($len)) !== -1) {
            $defaultConfiguration .= $data;
        }

        if ('' === $defaultConfiguration) {
            return -1;
        }

        $this->setDefaultConfiguration($defaultConfiguration);

        $comments = $this->installTool->getDefaultConfigArrayComments($defaultConfiguration);

        $out = $this->createPropertyPathsFromCommentArray($comments);

        return $out;
    }
public function read ( $ len = null ) { if ( FALSE === $ this -> getInitialized ( ) ) { $ this -> initialize ( ) ; $ this -> setInitialized ( TRUE ) ; } $ defaultConfiguration = '' ; if ( - 1 === version_compare ( $ this -> getTYPO3Version ( ) , '0.0.0' ) ) { throw new BuildException ( 'You must pass a TYPO3 version via the corresponding parameter in your build file!' ) ; } while ( ( $ data = $ this -> in -> read ( $ len ) ) !== - 1 ) { $ defaultConfiguration .= $ data ; } if ( '' === $ defaultConfiguration ) { return - 1 ; } $ this -> setDefaultConfiguration ( $ defaultConfiguration ) ; $ comments = $ this -> installTool -> getDefaultConfigArrayComments ( $ defaultConfiguration ) ; $ out = $ this -> createPropertyPathsFromCommentArray ( $ comments ) ; return $ out ; }
Reads stream, applies property file formatting and returns resulting stream.

@return string transformed buffer.
@throws BuildException if TYPO3version is not set in unresolveableReplacementPairs
Reads stream applies property file formatting and returns resulting stream .