Page MenuHomeDevCentral

BaseCollection.php
No OneTemporary

BaseCollection.php

<?php
declare(strict_types=1);
namespace Keruald\OmniTools\Collections;
abstract class BaseCollection {
use WithCollection;
///
/// Constructors
///
public static abstract function from (iterable $items) : static;
///
/// Constants
///
const CB_ZERO_ARG = "Callback function should have at least one argument";
///
/// Getters
///
public abstract function toArray () : array;
///
/// Properties
///
public abstract function count () : int;
public abstract function isEmpty () : bool;
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 16, 13:35 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3116184
Default Alt Text
BaseCollection.php (571 B)

Event Timeline