public function getRefs() : array
    {
        $refs = [];
        foreach ($this->elements as $key => $val) {
            if (substr($key, 0, 5) == '#ref_') {
                $refs[substr($key, 5)] = $val;
            }
        }

        return $refs;
    }
public function getRefs() : array
    {
        $refs = [];
        foreach ($this->elements as $key => $val) {
            if (substr($key, 0, 5) == '#ref_') {
                $refs[substr($key, 5)] = $val;
            }
        }

        return $refs;
    }
public function getRefs ( ) : array { $ refs = [ ] ; foreach ( $ this -> elements as $ key => $ val ) { if ( substr ( $ key , 0 , 5 ) == '#ref_' ) { $ refs [ substr ( $ key , 5 ) ] = $ val ; } } return $ refs ; }
Returns all reference fields.

@return array
Returns all reference fields .