public function all()
    {
        $res = [];
        $len = count($this->fragments);

        for ($index=0; $index < $len; $index++) {
            $res[] = $this->get($index);
        }

        return $res;
    }
public function all()
    {
        $res = [];
        $len = count($this->fragments);

        for ($index=0; $index < $len; $index++) {
            $res[] = $this->get($index);
        }

        return $res;
    }
public function all ( ) { $ res = [ ] ; $ len = count ( $ this -> fragments ) ; for ( $ index = 0 ; $ index < $ len ; $ index ++ ) { $ res [ ] = $ this -> get ( $ index ) ; } return $ res ; }
Get all fragments.

@return array<integer|null>
Get all fragments .