Page MenuHomeDevCentral

BaseCollection.php
No OneTemporary

BaseCollection.php

<?php
declare(strict_types=1);
namespace Keruald\OmniTools\Collections;
abstract class BaseCollection {
///
/// 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
Mon, Nov 17, 15:48 (21 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3144897
Default Alt Text
BaseCollection.php (546 B)

Event Timeline