Move class files to includes/

Cleans up the top-level directory a bit.

Change-Id: I29d3b8b7098def77e643232a386d8ba834d35704
This commit is contained in:
Timo Tijhof 2018-03-12 16:52:48 -07:00
parent 5db0c43a45
commit 2fa3b7f69a
5 changed files with 12 additions and 10 deletions

View File

@ -1,7 +1,10 @@
<?php
/**
* VectorHooks.php
*/
namespace Vector;
use OutputPage;
use SkinTemplate;
use SkinVector;
/**
* Hook handlers for Vector skin.
@ -9,8 +12,7 @@
* Hook handler method names should be in the form of:
* on<HookName>()
*/
class VectorHooks {
class Hooks {
/**
* BeforePageDisplayMobile hook handler
*

View File

@ -25,14 +25,14 @@
]
},
"AutoloadClasses": {
"VectorHooks": "VectorHooks.php",
"SkinVector": "SkinVector.php",
"VectorTemplate": "VectorTemplate.php",
"Vector\\ResourceLoaderLessModule": "ResourceLoaderLessModule.php"
"Vector\\Hooks": "includes/Hooks.php",
"SkinVector": "includes/SkinVector.php",
"VectorTemplate": "includes/VectorTemplate.php",
"Vector\\ResourceLoaderLessModule": "includes/ResourceLoaderLessModule.php"
},
"Hooks": {
"BeforePageDisplayMobile": [
"VectorHooks::onBeforePageDisplayMobile"
"Vector\\Hooks::onBeforePageDisplayMobile"
]
},
"@note": "When modifying skins.vector.styles definition, make sure the installer still works",