public function getSourceCode($initialIdent = 4)
    {
        $file = explode(PHP_EOL, file_get_contents($this->getFileName()));

        $funcOpenLine  = $file[$this->getStartLine()-1];
        $funcOpenLine  = rtrim(substr($funcOpenLine, strpos($funcOpenLine, 'function')));

        $funcCloseLine = $file[$this->getEndLine()-1];
        $funcCloseLine = ltrim(substr($funcCloseLine, 0, strpos($funcCloseLine, '}')+1));

        $source = $funcOpenLine
                . $this->getContents($initialIdent, false)
                . $funcCloseLine;

        return $source;
    }