main/core/Entity/Resource/Text.php
public function getContent()
    {
        $content = null;
        if (0 < $this->revisions->count()) {
            $content = $this->revisions->get(0)->getContent();
        }

        return $content;
    }
public function getContent()
    {
        $content = null;
        if (0 < $this->revisions->count()) {
            $content = $this->revisions->get(0)->getContent();
        }

        return $content;
    }
public function getContent ( ) { $ content = null ; if ( 0 < $ this -> revisions -> count ( ) ) { $ content = $ this -> revisions -> get ( 0 ) -> getContent ( ) ; } return $ content ; }
Get the current content of the Resource.

@return string
Get the current content of the Resource .