Oroboros Core
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • None
  • oroboros
    • core
      • abstracts
        • adapters
        • bootstrap
        • controllers
        • libraries
          • auth
          • bootstrap
          • cache
          • codex
          • config
          • container
          • data
          • database
          • dns
          • entity
          • enum
          • error
          • event
          • extension
          • file
          • flags
          • hooks
          • job
          • logger
          • manager
          • message
          • prototype
          • request
          • response
          • routine
          • shell
          • startup
          • stream
          • template
          • uri
          • utility
          • validation
            • workers
          • worker
        • models
        • patterns
          • behavioral
          • creational
        • utilities
          • exception
            • cache
            • container
          • http
        • views
      • interfaces
        • adapters
          • interpreters
          • sdk
        • api
          • adapters
          • bootstrap
          • controllers
          • psr
        • contract
          • adapters
          • bootstrap
          • codex
          • components
          • controllers
          • data
          • entities
          • errors
          • events
          • extensions
          • jobs
          • libraries
            • auth
            • cache
            • config
            • container
            • enum
            • file
            • flags
            • hooks
            • module
            • promise
            • record
            • request
            • response
            • server
            • shutdown
            • site
            • stream
            • template
            • theme
            • uri
          • models
          • patterns
            • behavioral
            • concurrency
            • creational
            • structural
          • routes
          • routines
            • bootload
            • declarative
            • procedural
            • subsystem
          • services
            • consumer
              • cgi
              • rest
                • local
                • remote
                  • authenticated
                  • unauthenticated
            • provider
              • cgi
              • rest
                • local
                • remote
                  • authenticated
                  • unauthenticated
          • utilities
            • datetime
            • exception
              • cache
              • container
            • filebase
            • http
            • math
            • parser
            • regex
            • session
          • views
        • enumerated
          • environment
          • flags
          • http
          • views
        • libraries
          • manager
          • worker
      • libraries
        • api
        • codex
        • container
        • enum
          • http
        • file
        • hooks
        • logger
        • math
        • psr4
        • request
        • response
        • stream
        • uri
      • patterns
        • creational
      • traits
        • adapters
        • bootstrap
        • codex
        • components
        • controllers
        • data
        • entities
        • events
        • extensions
        • jobs
        • libraries
          • container
          • file
          • request
          • response
          • stream
          • uri
        • models
        • modules
        • patterns
          • behavioral
          • concurrency
          • creational
          • structural
        • routes
        • services
        • utilities
          • core
            • api
            • config
            • contract
              • contract
            • enum
            • environment
            • routines
          • datetime
          • error
          • exception
          • filebase
          • hooks
          • html
          • http
          • logic
          • math
          • parsers
          • regex
          • session
        • views
      • utilities
        • exception
          • cache
          • container
        • http
      • views
    • tests
      • patterns
        • creational
      • psr
        • psr7
      • utilities
        • exception
  • PasswordCompat
    • binary
  • PHP

Interfaces

  • CollectionContract
  • ContainerContract

Interface CollectionContract

This interface enforces the methods required collections. This enables most native PHP array functionality on implementing objects, and provides the same methods that are available in the PHP 7.0 SPL Collection class, making this functionality available as far back as PHP 5.4.

Collections also honor the Psr-11 container specification. This interface indicates that any class implementing it is both an extension of the Psr-11 container specification, and also a valid Oroboros library.

oroboros\core\interfaces\contract\libraries\container\CollectionContract implements oroboros\core\interfaces\contract\libraries\container\ContainerContract, ArrayAccess, Iterator, Countable, JsonSerializable

Direct known implementers

oroboros\core\abstracts\libraries\container\AbstractCollection

Indirect known implementers

oroboros\core\libraries\container\Collection

Namespace: oroboros\core\interfaces\contract\libraries\container
Author: Brian Dayhoff brian@mopsyd.me
Located at core/interfaces/contract/libraries/container/CollectionContract.php

Methods summary

public
# __construct( array $params = null )
public
# __isset( $name )
public
# __get( $name )
public
# __set( $name, $value )
public
# __unset( $name )
public
# clear( )
public
# copy( )
public
# count( $mode = COUNT_NORMAL )

Implementation of

Countable::count()
public
# current( )

Implementation of

Iterator::current()
public
# isEmpty( )
public
# key( )

Implementation of

Iterator::key()
public
# jsonSerialize( )

Implementation of

JsonSerializable::jsonSerialize()
public
# next( )

Implementation of

Iterator::next()
public
# offsetExists( $offset )

Implementation of

ArrayAccess::offsetExists()
public
# offsetGet( $offset )

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( $offset, $value )

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( $offset )

Implementation of

ArrayAccess::offsetUnset()
public
# rewind( )

Implementation of

Iterator::rewind()
public
# toArray( )
public
# valid( )

Implementation of

Iterator::valid()
Oroboros Core API documentation generated by ApiGen