public function read($len = null)
    {
        $buffer = $this->in->read($len);

        if ($buffer === -1) {
            return -1;
        }

        /**
         * @var Project $project
         */
        $project = $this->getProject();
        $buffer = $project->replaceProperties($buffer);

        return $buffer;
    }