Bolt\Storage\Field\Collection\FieldCollection::getExisting PHP Method

getExisting() public method

public getExisting ( ) : array
return array
    public function getExisting()
    {
        $set = [];
        foreach ($this as $k => $entity) {
            $id = $entity->getId();
            if ($id) {
                $set[] = $entity;
            }
        }
        return $set;
    }