HEX
Server: Apache
System: Linux webm006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/laretediclo/wp-content/plugins/pods/src/Pods/Blocks/Collections/Base.php
<?php

namespace Pods\Blocks\Collections;

/**
 * Block Collection functionality class.
 *
 * @since 2.8.0
 */
abstract class Base {

	/**
	 * Register the block collection with Pods.
	 *
	 * @since 2.8.0
	 */
	public function register_with_pods() {
		$collection = $this->block_collection();

		if ( empty( $collection ) ) {
			return;
		}

		$collection['name'] = $this->slug();

		pods_register_block_collection( $collection );
	}

	/**
	 * Get the name/slug of this block collection.
	 *
	 * @since 2.8.0
	 *
	 * @return string
	 */
	public function slug() {
		return '';
	}

	/**
	 * Get block collection configuration to register with Pods.
	 *
	 * @since 2.8.0
	 *
	 * @return array Block collection configuration.
	 */
	public function block_collection() {
		return [];
	}
}