Pages::__construct()

The constructor.

Table of Contents
  1. Description
  2. Example

Description

Pages::__construct(iterable $value = []): self;

This method will be called when you instantiate a Pages class.

Example

$pages = new Pages([
    '.\lot\page\article\article-1.page',
    '.\lot\page\article\article-2.page',
    '.\lot\page\article\article-3.page',
    '.\lot\page\article\article-4.page',
    '.\lot\page\article\article-5.page'
]);

Pages::__construct()

The constructor.