-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding docs generated via sphpdox/sphpdox for ReadTheDocs service
- Loading branch information
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
----------------------------------- | ||
Salaros\\MrPress\\Composer\\Scripts | ||
----------------------------------- | ||
|
||
.. php:namespace: Salaros\\MrPress\\Composer | ||
.. php:class:: Scripts | ||
Composer scripts for Mr.Press installations | ||
|
||
.. php:method:: init(Event $event) | ||
Main method which initializes Scripts class instance | ||
|
||
:type $event: Event | ||
:param $event: | ||
:returns: void | ||
|
||
.. php:method:: createDatabase(Event $event) | ||
Creating WordPress database via WP CLI by using configs loaded from .env | ||
file | ||
|
||
:type $event: Event | ||
:param $event: | ||
:returns: void | ||
|
||
.. php:method:: createTables(Event $event) | ||
Install WordPress by creating tables on the DB via WP CLI | ||
|
||
:type $event: Event | ||
:param $event: | ||
:returns: void | ||
|
||
.. php:method:: activatePlugins(Event $event) | ||
Activate all currently installed plugins | ||
|
||
:type $event: Event | ||
:param $event: | ||
:returns: void | ||
|
||
.. php:method:: createCronjob(Event $event) | ||
Create crontab entry for www-data user | ||
|
||
:type $event: Event | ||
:param $event: | ||
:returns: void | ||
|
||
.. php:method:: addSalts(Event $event) | ||
Appends WordPress salts to .env file if needed | ||
|
||
:type $event: Event | ||
:param $event: | ||
:returns: void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'''''''''''''''''''''''''' | ||
Salaros\\MrPress\\Composer | ||
'''''''''''''''''''''''''' | ||
|
||
.. php:namespace: Salaros\\MrPress\\Composer | ||
.. toctree:: | ||
|
||
Scripts |