Version Description
Download this release
Release Info
| Developer | themeisle |
| Plugin | |
| Version | 1.0.9 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.8 to 1.0.9
- CHANGELOG.md +5 -32
- README.md +6 -39
- includes/Admin.php +1 -0
- includes/Importers/Content_Importer.php +4 -0
- includes/Main.php +1 -1
- includes/Sites_Listing.php +0 -61
- readme.txt +6 -39
- templates-patterns-collection.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
CHANGELOG.md
CHANGED
|
@@ -1,35 +1,8 @@
|
|
| 1 |
-
##### [Version 1.0.
|
| 2 |
-
|
| 3 |
-
> Things are getting better every day. 🚀
|
| 4 |
-
|
| 5 |
-
##### [Version 1.0.7](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.6...v1.0.7) (2020-07-29)
|
| 6 |
-
|
| 7 |
-
chore: adds SVN deployment workflow
|
| 8 |
-
|
| 9 |
-
##### [Version 1.0.6](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.5...v1.0.6) (2020-07-27)
|
| 10 |
-
|
| 11 |
-
> Things are getting better every day. 🚀
|
| 12 |
-
|
| 13 |
-
##### [Version 1.0.5](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.4...v1.0.5) (2020-07-27)
|
| 14 |
-
|
| 15 |
-
> Things are getting better every day. 🚀
|
| 16 |
Â
|
| 17 |
-
|
|
Â
|
|
| 18 |
Â
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
##### [Version 1.0.3](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.2...v1.0.3) (2020-07-23)
|
| 22 |
-
|
| 23 |
-
> Things are getting better every day. 🚀
|
| 24 |
-
|
| 25 |
-
##### [Version 1.0.2](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.1...v1.0.2) (2020-07-23)
|
| 26 |
-
|
| 27 |
-
> Things are getting better every day. 🚀
|
| 28 |
-
|
| 29 |
-
##### [Version 1.0.1](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.0...v1.0.1) (2020-07-21)
|
| 30 |
-
|
| 31 |
-
- adds plugin code
|
| 32 |
-
|
| 33 |
-
#### Version1.0.0 (2020-07-21)
|
| 34 |
Â
|
| 35 |
-
Initial Release
|
| 1 |
+
##### [Version 1.0.9](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.8...v1.0.9) (2020-08-26)
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
| 2 |
Â
|
| 3 |
+
* Improve ordering
|
| 4 |
+
* Fix notices on import
|
| 5 |
Â
|
| 6 |
+
##### [Version 1.0.8](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.7...v1.0.8) (2020-07-29)
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
| 7 |
Â
|
| 8 |
+
* Initial Release
|
README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Â
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle)
|
| 3 |
Â
**Tags:** neve, templates, patterns, blocks, starter, sites, demo, content, import
|
| 4 |
Â
**Requires at least:** 4.7
|
| 5 |
-
**Tested up to:** 5.
|
| 6 |
Â
**Requires PHP:** 5.6
|
| 7 |
Â
**Stable tag:** trunk
|
| 8 |
Â
**License:** GPLv3
|
|
@@ -27,54 +27,21 @@ No account is required to access the service template collection and the privacy
|
|
| 27 |
Â
|
| 28 |
Â
## Changelog ##
|
| 29 |
Â
|
| 30 |
-
##### [Version 1.0.
|
| 31 |
Â
|
| 32 |
-
|
|
Â
|
|
| 33 |
Â
|
| 34 |
Â
|
| 35 |
Â
|
| 36 |
Â
|
| 37 |
-
#####
|
| 38 |
Â
|
| 39 |
-
|
| 40 |
Â
|
| 41 |
Â
|
| 42 |
Â
|
| 43 |
Â
|
| 44 |
-
##### [Version 1.0.6](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.5...v1.0.6) (2020-07-27)
|
| 45 |
-
|
| 46 |
-
> Things are getting better every day. 🚀
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
##### [Version 1.0.5](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.4...v1.0.5) (2020-07-27)
|
| 52 |
-
|
| 53 |
-
> Things are getting better every day. 🚀
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
##### [Version 1.0.4](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.3...v1.0.4) (2020-07-24)
|
| 59 |
-
|
| 60 |
-
Fetch starter sites remotely
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
##### [Version 1.0.3](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.2...v1.0.3) (2020-07-23)
|
| 66 |
-
|
| 67 |
-
> Things are getting better every day. 🚀
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
##### [Version 1.0.2](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.1...v1.0.2) (2020-07-23)
|
| 73 |
-
|
| 74 |
-
> Things are getting better every day. 🚀
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
Â
|
| 79 |
Â
|
| 80 |
Â
|
| 2 |
Â
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle)
|
| 3 |
Â
**Tags:** neve, templates, patterns, blocks, starter, sites, demo, content, import
|
| 4 |
Â
**Requires at least:** 4.7
|
| 5 |
+
**Tested up to:** 5.5
|
| 6 |
Â
**Requires PHP:** 5.6
|
| 7 |
Â
**Stable tag:** trunk
|
| 8 |
Â
**License:** GPLv3
|
| 27 |
Â
|
| 28 |
Â
## Changelog ##
|
| 29 |
Â
|
| 30 |
+
##### [Version 1.0.9](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.8...v1.0.9) (2020-08-26)
|
| 31 |
Â
|
| 32 |
+
* Improve ordering
|
| 33 |
+
* Fix notices on import
|
| 34 |
Â
|
| 35 |
Â
|
| 36 |
Â
|
| 37 |
Â
|
| 38 |
+
##### Version 1.0.8
|
| 39 |
Â
|
| 40 |
+
* Initial production ready release
|
| 41 |
Â
|
| 42 |
Â
|
| 43 |
Â
|
| 44 |
Â
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
| 45 |
Â
|
| 46 |
Â
|
| 47 |
Â
|
includes/Admin.php
CHANGED
|
@@ -87,6 +87,7 @@ class Admin {
|
|
| 87 |
Â
|
| 88 |
Â
foreach ( $sites as $builder => $sites_for_builder ) {
|
| 89 |
Â
foreach ( $sites_for_builder as $slug => $data ) {
|
|
Â
|
|
| 90 |
Â
if ( ! isset( $data['upsell'] ) || $data['upsell'] !== true ) {
|
| 91 |
Â
continue;
|
| 92 |
Â
}
|
| 87 |
Â
|
| 88 |
Â
foreach ( $sites as $builder => $sites_for_builder ) {
|
| 89 |
Â
foreach ( $sites_for_builder as $slug => $data ) {
|
| 90 |
+
$sites[ $builder ][ $slug ]['slug'] = $slug;
|
| 91 |
Â
if ( ! isset( $data['upsell'] ) || $data['upsell'] !== true ) {
|
| 92 |
Â
continue;
|
| 93 |
Â
}
|
includes/Importers/Content_Importer.php
CHANGED
|
@@ -81,6 +81,10 @@ class Content_Importer {
|
|
| 81 |
Â
);
|
| 82 |
Â
}
|
| 83 |
Â
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
| 84 |
Â
set_time_limit( 0 );
|
| 85 |
Â
require_once( ABSPATH . 'wp-admin/includes/file.php' );
|
| 86 |
Â
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
| 81 |
Â
);
|
| 82 |
Â
}
|
| 83 |
Â
|
| 84 |
+
if ( ! isset( $body['demoSlug'] ) ) {
|
| 85 |
+
$body['demoSlug'] = 'neve';
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
Â
set_time_limit( 0 );
|
| 89 |
Â
require_once( ABSPATH . 'wp-admin/includes/file.php' );
|
| 90 |
Â
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
includes/Main.php
CHANGED
|
@@ -16,7 +16,7 @@ class Main {
|
|
| 16 |
Â
*
|
| 17 |
Â
* @var string Version string.
|
| 18 |
Â
*/
|
| 19 |
-
const VERSION = '1.0.
|
| 20 |
Â
/**
|
| 21 |
Â
* Sites Library API URL.
|
| 22 |
Â
*
|
| 16 |
Â
*
|
| 17 |
Â
* @var string Version string.
|
| 18 |
Â
*/
|
| 19 |
+
const VERSION = '1.0.9';
|
| 20 |
Â
/**
|
| 21 |
Â
* Sites Library API URL.
|
| 22 |
Â
*
|
includes/Sites_Listing.php
CHANGED
|
@@ -125,8 +125,6 @@ class Sites_Listing {
|
|
| 125 |
Â
}
|
| 126 |
Â
}
|
| 127 |
Â
|
| 128 |
-
$response = $this->shuffle_sites_array( $response );
|
| 129 |
-
|
| 130 |
Â
set_transient( $this->transient_key, $response, 12 * HOUR_IN_SECONDS );
|
| 131 |
Â
|
| 132 |
Â
return $response;
|
|
@@ -142,64 +140,6 @@ class Sites_Listing {
|
|
| 142 |
Â
return apply_filters( 'neve_filter_onboarding_sites', $this->onboarding_config );
|
| 143 |
Â
}
|
| 144 |
Â
|
| 145 |
-
/**
|
| 146 |
-
* Shuffle available sites to change display order.
|
| 147 |
-
*
|
| 148 |
-
* @param array $sites sites array.
|
| 149 |
-
*
|
| 150 |
-
* @return array
|
| 151 |
-
*/
|
| 152 |
-
private function shuffle_sites_array( $sites ) {
|
| 153 |
-
$fixed = array(
|
| 154 |
-
'elementor' => array(
|
| 155 |
-
'neve-web-agency' => true,
|
| 156 |
-
'neve-main' => true,
|
| 157 |
-
),
|
| 158 |
-
'beaver builder' => array(
|
| 159 |
-
'neve-beaver-web-agency' => true,
|
| 160 |
-
'neve-beaver-onboarding' => true,
|
| 161 |
-
),
|
| 162 |
-
'gutenberg' => array(
|
| 163 |
-
'neve-web-agency-gutenberg' => true,
|
| 164 |
-
'neve-main-gutenberg' => true,
|
| 165 |
-
),
|
| 166 |
-
'brizy' => array( 'neve-brizy-main' => true ),
|
| 167 |
-
);
|
| 168 |
-
$normalized = array();
|
| 169 |
-
foreach ( $sites as $editor => $sites_for_editor ) {
|
| 170 |
-
$normalized[ $editor ] = isset( $fixed[ $editor ] ) ? $fixed[ $editor ] : array();
|
| 171 |
-
$sites_for_editor = $this->shuffle_associative_array( $sites_for_editor );
|
| 172 |
-
foreach ( $sites_for_editor as $site_slug => $site_data ) {
|
| 173 |
-
if ( isset( $normalized[ $editor ][ $site_slug ] ) ) {
|
| 174 |
-
$normalized[ $editor ][ $site_slug ] = $site_data;
|
| 175 |
-
unset( $sites_for_editor[ $site_slug ] );
|
| 176 |
-
}
|
| 177 |
-
}
|
| 178 |
-
$normalized[ $editor ] = array_merge( $normalized[ $editor ], $sites_for_editor );
|
| 179 |
-
}
|
| 180 |
-
|
| 181 |
-
return $normalized;
|
| 182 |
-
}
|
| 183 |
-
|
| 184 |
-
/**
|
| 185 |
-
* Shuffle associative array.
|
| 186 |
-
*
|
| 187 |
-
* @param array $array associative array.
|
| 188 |
-
*
|
| 189 |
-
* @return array
|
| 190 |
-
*/
|
| 191 |
-
private function shuffle_associative_array( $array ) {
|
| 192 |
-
$keys = array_keys( $array );
|
| 193 |
-
$shuffled = array();
|
| 194 |
-
|
| 195 |
-
shuffle( $keys );
|
| 196 |
-
foreach ( $keys as $key ) {
|
| 197 |
-
$shuffled[ $key ] = $array[ $key ];
|
| 198 |
-
}
|
| 199 |
-
|
| 200 |
-
return $shuffled;
|
| 201 |
-
}
|
| 202 |
-
|
| 203 |
Â
/**
|
| 204 |
Â
* Reorder starter sites based on previous theme
|
| 205 |
Â
*
|
|
@@ -258,5 +198,4 @@ class Sites_Listing {
|
|
| 258 |
Â
);
|
| 259 |
Â
return ! isset( $category_mapping[ $category ] ) || $category_mapping[ $category ] < 2;
|
| 260 |
Â
}
|
| 261 |
-
|
| 262 |
Â
}
|
| 125 |
Â
}
|
| 126 |
Â
}
|
| 127 |
Â
|
|
Â
|
|
|
Â
|
|
| 128 |
Â
set_transient( $this->transient_key, $response, 12 * HOUR_IN_SECONDS );
|
| 129 |
Â
|
| 130 |
Â
return $response;
|
| 140 |
Â
return apply_filters( 'neve_filter_onboarding_sites', $this->onboarding_config );
|
| 141 |
Â
}
|
| 142 |
Â
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
| 143 |
Â
/**
|
| 144 |
Â
* Reorder starter sites based on previous theme
|
| 145 |
Â
*
|
| 198 |
Â
);
|
| 199 |
Â
return ! isset( $category_mapping[ $category ] ) || $category_mapping[ $category ] < 2;
|
| 200 |
Â
}
|
|
Â
|
|
| 201 |
Â
}
|
readme.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Â
Contributors: themeisle
|
| 3 |
Â
Tags: neve, templates, patterns, blocks, starter, sites, demo, content, import
|
| 4 |
Â
Requires at least: 4.7
|
| 5 |
-
Tested up to: 5.
|
| 6 |
Â
Requires PHP: 5.6
|
| 7 |
Â
Stable tag: trunk
|
| 8 |
Â
License: GPLv3
|
|
@@ -27,54 +27,21 @@ No account is required to access the service template collection and the privacy
|
|
| 27 |
Â
|
| 28 |
Â
== Changelog ==
|
| 29 |
Â
|
| 30 |
-
##### [Version 1.0.
|
| 31 |
Â
|
| 32 |
-
|
|
Â
|
|
| 33 |
Â
|
| 34 |
Â
|
| 35 |
Â
|
| 36 |
Â
|
| 37 |
-
#####
|
| 38 |
Â
|
| 39 |
-
|
| 40 |
Â
|
| 41 |
Â
|
| 42 |
Â
|
| 43 |
Â
|
| 44 |
-
##### [Version 1.0.6](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.5...v1.0.6) (2020-07-27)
|
| 45 |
-
|
| 46 |
-
> Things are getting better every day. 🚀
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
##### [Version 1.0.5](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.4...v1.0.5) (2020-07-27)
|
| 52 |
-
|
| 53 |
-
> Things are getting better every day. 🚀
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
##### [Version 1.0.4](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.3...v1.0.4) (2020-07-24)
|
| 59 |
-
|
| 60 |
-
Fetch starter sites remotely
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
##### [Version 1.0.3](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.2...v1.0.3) (2020-07-23)
|
| 66 |
-
|
| 67 |
-
> Things are getting better every day. 🚀
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
##### [Version 1.0.2](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.1...v1.0.2) (2020-07-23)
|
| 73 |
-
|
| 74 |
-
> Things are getting better every day. 🚀
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
Â
|
| 79 |
Â
|
| 80 |
Â
|
| 2 |
Â
Contributors: themeisle
|
| 3 |
Â
Tags: neve, templates, patterns, blocks, starter, sites, demo, content, import
|
| 4 |
Â
Requires at least: 4.7
|
| 5 |
+
Tested up to: 5.5
|
| 6 |
Â
Requires PHP: 5.6
|
| 7 |
Â
Stable tag: trunk
|
| 8 |
Â
License: GPLv3
|
| 27 |
Â
|
| 28 |
Â
== Changelog ==
|
| 29 |
Â
|
| 30 |
+
##### [Version 1.0.9](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.0.8...v1.0.9) (2020-08-26)
|
| 31 |
Â
|
| 32 |
+
* Improve ordering
|
| 33 |
+
* Fix notices on import
|
| 34 |
Â
|
| 35 |
Â
|
| 36 |
Â
|
| 37 |
Â
|
| 38 |
+
##### Version 1.0.8
|
| 39 |
Â
|
| 40 |
+
* Initial production ready release
|
| 41 |
Â
|
| 42 |
Â
|
| 43 |
Â
|
| 44 |
Â
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
|
Â
|
|
| 45 |
Â
|
| 46 |
Â
|
| 47 |
Â
|
templates-patterns-collection.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Â
/**
|
| 3 |
Â
* Plugin Name: Templates Patterns Collection
|
| 4 |
Â
* Description: This plugin is an add-on to Neve WordPress theme which offers access to Templates and Block Patterns library service to be used with the theme.
|
| 5 |
-
* Version: 1.0.
|
| 6 |
Â
* Author: ThemeIsle
|
| 7 |
Â
* Author URI: https://themeisle.com
|
| 8 |
Â
* License: GPLv3
|
| 2 |
Â
/**
|
| 3 |
Â
* Plugin Name: Templates Patterns Collection
|
| 4 |
Â
* Description: This plugin is an add-on to Neve WordPress theme which offers access to Templates and Block Patterns library service to be used with the theme.
|
| 5 |
+
* Version: 1.0.9
|
| 6 |
Â
* Author: ThemeIsle
|
| 7 |
Â
* Author URI: https://themeisle.com
|
| 8 |
Â
* License: GPLv3
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
Â
|
| 5 |
Â
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
Â
|
| 7 |
-
return
|
| 4 |
Â
|
| 5 |
Â
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
Â
|
| 7 |
+
return ComposerAutoloaderInita9e8298d2fb3057074c17fb686d2d0e8::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Â
|
| 3 |
Â
// autoload_real.php @generated by Composer
|
| 4 |
Â
|
| 5 |
-
class
|
| 6 |
Â
{
|
| 7 |
Â
private static $loader;
|
| 8 |
Â
|
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit066b08d004841aa5eabf11db299ba83d
|
|
| 22 |
Â
return self::$loader;
|
| 23 |
Â
}
|
| 24 |
Â
|
| 25 |
-
spl_autoload_register(array('
|
| 26 |
Â
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 27 |
-
spl_autoload_unregister(array('
|
| 28 |
Â
|
| 29 |
Â
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 30 |
Â
if ($useStaticLoader) {
|
| 31 |
Â
require_once __DIR__ . '/autoload_static.php';
|
| 32 |
Â
|
| 33 |
-
call_user_func(\Composer\Autoload\
|
| 34 |
Â
} else {
|
| 35 |
Â
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 36 |
Â
foreach ($map as $namespace => $path) {
|
| 2 |
Â
|
| 3 |
Â
// autoload_real.php @generated by Composer
|
| 4 |
Â
|
| 5 |
+
class ComposerAutoloaderInita9e8298d2fb3057074c17fb686d2d0e8
|
| 6 |
Â
{
|
| 7 |
Â
private static $loader;
|
| 8 |
Â
|
| 22 |
Â
return self::$loader;
|
| 23 |
Â
}
|
| 24 |
Â
|
| 25 |
+
spl_autoload_register(array('ComposerAutoloaderInita9e8298d2fb3057074c17fb686d2d0e8', 'loadClassLoader'), true, true);
|
| 26 |
Â
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInita9e8298d2fb3057074c17fb686d2d0e8', 'loadClassLoader'));
|
| 28 |
Â
|
| 29 |
Â
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 30 |
Â
if ($useStaticLoader) {
|
| 31 |
Â
require_once __DIR__ . '/autoload_static.php';
|
| 32 |
Â
|
| 33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInita9e8298d2fb3057074c17fb686d2d0e8::getInitializer($loader));
|
| 34 |
Â
} else {
|
| 35 |
Â
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 36 |
Â
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
Â
|
| 5 |
Â
namespace Composer\Autoload;
|
| 6 |
Â
|
| 7 |
-
class
|
| 8 |
Â
{
|
| 9 |
Â
public static $prefixLengthsPsr4 = array (
|
| 10 |
Â
'T' =>
|
|
@@ -48,9 +48,9 @@ class ComposerStaticInit066b08d004841aa5eabf11db299ba83d
|
|
| 48 |
Â
public static function getInitializer(ClassLoader $loader)
|
| 49 |
Â
{
|
| 50 |
Â
return \Closure::bind(function () use ($loader) {
|
| 51 |
-
$loader->prefixLengthsPsr4 =
|
| 52 |
-
$loader->prefixDirsPsr4 =
|
| 53 |
-
$loader->classMap =
|
| 54 |
Â
|
| 55 |
Â
}, null, ClassLoader::class);
|
| 56 |
Â
}
|
| 4 |
Â
|
| 5 |
Â
namespace Composer\Autoload;
|
| 6 |
Â
|
| 7 |
+
class ComposerStaticInita9e8298d2fb3057074c17fb686d2d0e8
|
| 8 |
Â
{
|
| 9 |
Â
public static $prefixLengthsPsr4 = array (
|
| 10 |
Â
'T' =>
|
| 48 |
Â
public static function getInitializer(ClassLoader $loader)
|
| 49 |
Â
{
|
| 50 |
Â
return \Closure::bind(function () use ($loader) {
|
| 51 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInita9e8298d2fb3057074c17fb686d2d0e8::$prefixLengthsPsr4;
|
| 52 |
+
$loader->prefixDirsPsr4 = ComposerStaticInita9e8298d2fb3057074c17fb686d2d0e8::$prefixDirsPsr4;
|
| 53 |
+
$loader->classMap = ComposerStaticInita9e8298d2fb3057074c17fb686d2d0e8::$classMap;
|
| 54 |
Â
|
| 55 |
Â
}, null, ClassLoader::class);
|
| 56 |
Â
}
|
