public function push($item)
	{
		$full_class_name = $this->getFullClassName();

		if (is_array($item)) {
			array_push($this->items, new $full_class_name($item));
		}
		elseif ($item instanceof $full_class_name) {
			array_push($this->items, $item);
		}
	}
public function push($item)
	{
		$full_class_name = $this->getFullClassName();

		if (is_array($item)) {
			array_push($this->items, new $full_class_name($item));
		}
		elseif ($item instanceof $full_class_name) {
			array_push($this->items, $item);
		}
	}
public function push ( $ item ) { $ full_class_name = $ this -> getFullClassName ( ) ; if ( is_array ( $ item ) ) { array_push ( $ this -> items , new $ full_class_name ( $ item ) ) ; } elseif ( $ item instanceof $ full_class_name ) { array_push ( $ this -> items , $ item ) ; } }
Add a new item to the collection

@param  mixed $item
@return void
Add a new item to the collection