public function getExcerptAttribute()
    {
        $value  = $this->getAttribute('content');
        $format = $this->attributes['format'];

        list($excerpt, ) = explode('<!--more-->', $value, 2);

        return StoryFormat::driver($format)->parse($excerpt);
    }
public function getExcerptAttribute()
    {
        $value  = $this->getAttribute('content');
        $format = $this->attributes['format'];

        list($excerpt, ) = explode('<!--more-->', $value, 2);

        return StoryFormat::driver($format)->parse($excerpt);
    }
public function getExcerptAttribute ( ) { $ value = $ this -> getAttribute ( 'content' ) ; $ format = $ this -> attributes [ 'format' ] ; list ( $ excerpt , ) = explode ( '<!--more-->' , $ value , 2 ) ; return StoryFormat :: driver ( $ format ) -> parse ( $ excerpt ) ; }
Accessor for parsed excerpt.

@return string
Accessor for parsed excerpt .