Prado\Collections\TQueue::__construct PHP Method

__construct() public method

Initializes the queue with an array or an iterable object.
public __construct ( $data = null )
    public function __construct($data = null)
    {
        if ($data !== null) {
            $this->copyFrom($data);
        }
    }