Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-builder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-builder
Commits
017164f2
Commit
017164f2
authored
7 years ago
by
dyszczo
Browse files
Options
Downloads
Patches
Plain Diff
more building ;)
parent
2ad36260
No related branches found
No related tags found
2 merge requests
!5
Devel
,
!4
more like builder pattern
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Builder/AbstractBuilder.php
+44
-0
44 additions, 0 deletions
src/Builder/AbstractBuilder.php
with
44 additions
and
0 deletions
src/Builder/AbstractBuilder.php
+
44
−
0
View file @
017164f2
...
...
@@ -3,15 +3,59 @@
namespace
WPDesk\PluginBuilder\Builder
;
class
AbstractBuilder
{
/**
* Create plugin class
*/
public
function
build_plugin
()
{
}
/**
* Store plugin class in some kind of storage
*/
public
function
store_plugin
()
{
}
/**
* Init plugin internal structure
*/
public
function
init_plugin
()
{
}
/**
* Return built plugin
*/
public
function
get_plugin
()
{
}
/**
* Set settings class in plugin
*
* @param $settings
*/
public
function
set_settings
(
$settings
)
{
}
/**
* Set view class in plugin
*
* @param $view
*/
public
function
set_view
(
$view
)
{
}
/**
* Set tracker class in plugin
*
* @param $tracker
*/
public
function
set_tracker
(
$tracker
)
{
}
/**
* Set helper class in plugin
*
* @param $helper
*/
public
function
set_helper
(
$helper
)
{
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment