public function collection(array $options = []) : \Object\Collection {
		if (!empty($this->virtual_class_name)) {
			$options['model'] = $this->virtual_class_name;
			return \Object\Collection::collectionToModel($options);
		} else {
			return self::collectionStatic($options);
		}
	}
public function collection(array $options = []) : \Object\Collection {
		if (!empty($this->virtual_class_name)) {
			$options['model'] = $this->virtual_class_name;
			return \Object\Collection::collectionToModel($options);
		} else {
			return self::collectionStatic($options);
		}
	}
public function collection ( array $ options = [ ] ) : \ Object \ Collection { if ( ! empty ( $ this -> virtual_class_name ) ) { $ options [ 'model' ] = $ this -> virtual_class_name ; return \ Object \ Collection :: collectionToModel ( $ options ) ; } else { return self :: collectionStatic ( $ options ) ; } }
Create collection object

@param array $options
@return object
Create collection object