Skip to content

Tag Archives: PHP-DS\Collection

The Ds\Sequence::contains() function is an inbuilt function in PHP which is used to check the given value exists in the sequence or not. Syntax: bool… Read More
The Ds\Collection::toArray() function is an inbuilt function in PHP which is used to converts the collections into array. Syntax: public Ds\Collection::toArray( void ) : array… Read More
The Ds\Sequence::filter() function is an inbuilt function in PHP which is used to create new sequence using filter function. Syntax: Ds\Sequence abstract public Ds\Sequence::filter ([… Read More
The Ds\Collection::isEmpty() function is an inbuilt function in PHP which is used to returns whether collection is empty. Syntax: Ds\Collection::isEmpty ( void ) : bool… Read More
The Ds\Collection::copy() function is an inbuilt function in PHP which is used to returns the copy of collection element. Syntax: Ds\Collection::copy ( void ) :… Read More
The Ds\Collection::clear() function is an inbuilt function in PHP which is used to remove all values from the collection. Syntax: Ds\Collection::clear( void ) Parameters: This… Read More