<?php

namespace Opentalent\OtCore\Tests\Unit\Fixtures;

class PageFixtures
{
    private array $pages = [
        [ 'uid' => 100, 'pid' => 0,   'deleted' => 0, 'hidden' => 0, 'title' => 'Folder',            'slug' => '',                   'doktype' => 254, 'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 1,  'perms_groupid' => 31, 'perms_user' => 0,  'perms_group' => 27, 'perms_everybody' => 0, 'TSconfig' => '',                                                  'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => '',           'backend_layout_next_level' => '',           'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => NULL, 't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 200, 'pid' => 100, 'deleted' => 0, 'hidden' => 0, 'title' => 'Root Page',         'slug' => '/',                  'doktype' => 1,   'is_siteroot' => 1, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => 'TCAdefaults.pages.tx_opentalent_website_id = 1',    'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => 'OpenTalent.OtTemplating->home',      'tx_fed_page_controller_action_sub' => 'OpenTalent.OtTemplating->1Col', 'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 201, 'pid' => 200, 'deleted' => 0, 'hidden' => 0, 'title' => 'Accueil',           'slug' => '/accueil',           'doktype' => 4,   'is_siteroot' => 0, 'shortcut' => 561, 'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 210, 'pid' => 200, 'deleted' => 0, 'hidden' => 0, 'title' => 'Présentation',      'slug' => '/presentation',      'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 211, 'pid' => 210, 'deleted' => 0, 'hidden' => 0, 'title' => 'Les adhérents',     'slug' => '/les-adherents',     'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => 'OpenTalent.OtTemplating->members',   'tx_fed_page_controller_action_sub' => 'OpenTalent.OtTemplating->1Col', 'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 212, 'pid' => 210, 'deleted' => 0, 'hidden' => 0, 'title' => 'Les membres du CA', 'slug' => '/les-membres-du-ca', 'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => 'OpenTalent.OtTemplating->membersCa', 'tx_fed_page_controller_action_sub' => 'OpenTalent.OtTemplating->1Col', 'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 213, 'pid' => 210, 'deleted' => 0, 'hidden' => 0, 'title' => 'Contact',           'slug' => '/ecrivez-nous',      'doktype' => 4,   'is_siteroot' => 0, 'shortcut' => 573, 'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 214, 'pid' => 210, 'deleted' => 0, 'hidden' => 1, 'title' => 'Qui sommes nous?',  'slug' => '/qui-sommes-nous',   'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 215, 'pid' => 210, 'deleted' => 1, 'hidden' => 1, 'title' => 'Historique',        'slug' => '/historique',        'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 220, 'pid' => 200, 'deleted' => 0, 'hidden' => 0, 'title' => 'Saison en cours',   'slug' => '/saison-en-cours',   'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 221, 'pid' => 220, 'deleted' => 0, 'hidden' => 0, 'title' => 'Les évènements',    'slug' => '/les-evenements',    'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => 'OpenTalent.OtTemplating->events',    'tx_fed_page_controller_action_sub' => 'OpenTalent.OtTemplating->1Col', 'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 230, 'pid' => 200, 'deleted' => 0, 'hidden' => 0, 'title' => 'Footer',            'slug' => '/footer',            'doktype' => 116, 'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 1, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 231, 'pid' => 230, 'deleted' => 0, 'hidden' => 0, 'title' => 'Contact',           'slug' => '/contact',           'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => 'OpenTalent.OtTemplating->contact',   'tx_fed_page_controller_action_sub' => 'OpenTalent.OtTemplating->1Col', 'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 232, 'pid' => 230, 'deleted' => 0, 'hidden' => 0, 'title' => 'Plan du site',      'slug' => '/plan-du-site',      'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 233, 'pid' => 230, 'deleted' => 0, 'hidden' => 0, 'title' => 'Mentions légales',  'slug' => '/mentions-legales',  'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 240, 'pid' => 200, 'deleted' => 0, 'hidden' => 0, 'title' => 'Page introuvable',  'slug' => '/page-introuvable',  'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 1, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 1, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 250, 'pid' => 200, 'deleted' => 0, 'hidden' => 1, 'title' => 'Actualités',        'slug' => '/actualites',        'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '0',  'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => 'OpenTalent.OtTemplating->news',      'tx_fed_page_controller_action_sub' => 'OpenTalent.OtTemplating->1Col', 'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ],
        [ 'uid' => 260, 'pid' => 200, 'deleted' => 0, 'hidden' => 1, 'title' => 'Vie interne',       'slug' => '/vie-interne',       'doktype' => 1,   'is_siteroot' => 0, 'shortcut' => 0,   'tstamp' => 0, 'crdate' => 0, 'cruser_id' => 1, 'starttime' => 0, 'endtime' => 0, 'fe_group' => '-2', 'sorting' => 0, 'rowDescription' => NULL, 'editlock' => 0, 'sys_language_uid' => 0, 'l10n_parent' => 0, 'l10n_source' => 0, 'l10n_state' => NULL, 't3_origuid' => 0, 'l10n_diffsource' => NULL, 't3ver_oid' => 0, 't3ver_wsid' => 0, 't3ver_state' => 0, 't3ver_stage' => 0, 't3ver_count' => 0, 't3ver_tstamp' => 0, 't3ver_move_id' => 0, 'perms_userid' => 25, 'perms_groupid' => 3,  'perms_user' => 27, 'perms_group' => 0,  'perms_everybody' => 0, 'TSconfig' => NULL,                                                'php_tree_stop' => 0, 'url' => '', 'shortcut_mode' => 0, 'subtitle' => '', 'layout' => 0, 'target' => '', 'media' => 0, 'lastUpdated' => 0, 'keywords' => NULL, 'cache_timeout' => 0, 'cache_tags' => '', 'newUntil' => 0, 'description' => NULL, 'no_search' => 0, 'SYS_LASTCHANGED' => 0, 'abstract' => NULL, 'module' => '', 'extendToSubpages' => 0, 'author' => '', 'author_email' => '', 'nav_title' => '', 'nav_hide' => 0, 'content_from_pid' => 0, 'mount_pid' => 0, 'mount_pid_ol' => 0, 'l18n_cfg' => 0, 'fe_login_mode' => 0, 'backend_layout' => 'flux__grid', 'backend_layout_next_level' => 'flux__grid', 'tsconfig_includes' => NULL, 'legacy_overlay_uid' => 0, 'seo_title' => '', 'no_index' => 0, 'no_follow' => 0, 'og_title' => '', 'og_description' => NULL, 'og_image' => 0, 'twitter_title' => '', 'twitter_description' => NULL, 'twitter_image' => 0, 'canonical_link' => '', 'tx_fed_page_flexform' => NULL, 'tx_fed_page_flexform_sub' => NULL, 'tx_fed_page_controller_action' => '',                                   'tx_fed_page_controller_action_sub' => '',                              'categories' => 0, 'ot_website_uid' => 1,    't3ver_id' => 0, 'alias' => '', 'tx_impexp_origuid' => 0, 't3ver_label' => '', ]
    ];

    /**
     * Returns a typical full stack of typo3 pages
     * as it could be returned by:
     *
     *    $queryBuilder->getRestrictions()->removeAll();
     *    $queryBuilder->select('*')
     *                 ->from('pages')
     *                 ->execute()
     *                 ->fetchAll();
     *
     * @return array[]
     */
    public function getAll(): array
    {
        return $this->pages;
    }

    /**
     * Returns a typical full stack of typo3 pages
     * as it could be returned by:
     *
     *    $queryBuilder->select('*')
     *                 ->from('pages')
     *                 ->execute()
     *                 ->fetchAll();
     *
     * @return array[]
     */
    public function getNonDeleted(): array
    {
        return array_filter($this->pages, function($p) { return $p['deleted'] == 0; });
    }

    /**
     * Returns a typo3 page
     * as it could be returned by:
     *
     *    $queryBuilder->select('*')
     *                 ->from('pages')
     *                 ->where($queryBuilder->expr()->eq('uid', $pageUid))
     *                 ->execute()
     *                 ->fetch();
     *
     * @param $pageUid
     * @return array
     */
    public function getByUid(int $pageUid) {
        foreach ($this->pages as $page) {
            if ($page['uid'] == $pageUid) {
                return $page;
            }
        }
        return [];  // Typo3 PageRespository returns an empty array when page does not exists
    }

    /**
     * Returns the direct subpages of the page
     * as it could be returned by
     *
     * @return array[]
     */
    public function getDirectSubpagesFor(int $pageUid): array
    {
        $subpages = [];
        foreach ($this->pages as $page) {
            if ($page['pid'] == $pageUid) {
                $subpages[] = $page;
            }
        }
        return $subpages;
    }

    /**
     * Returns the direct pages that belong to the given ot_website
     *
     * @return array[]
     */
    public function getWebsitePages(int $websiteUid): array
    {
        $pages = [];
        foreach ($this->pages as $page) {
            if ($page['ot_website_uid'] == $websiteUid) {
                $pages[] = $page;
            }
        }
        return $pages;
    }


}
