Refactored Store.
This commit is contained in:
parent
905d6d41d1
commit
8b5a874789
44 changed files with 397 additions and 424 deletions
|
|
@ -45,7 +45,7 @@ abstract class Plugin
|
|||
$this->build = $build;
|
||||
$this->options = $options;
|
||||
|
||||
if (!empty($options['priority_path']) && in_array($options['priority_path'], ['global', 'system'])) {
|
||||
if (!empty($options['priority_path']) && in_array($options['priority_path'], ['global', 'system'], true)) {
|
||||
$this->priorityPath = $options['priority_path'];
|
||||
}
|
||||
|
||||
|
|
@ -83,6 +83,14 @@ abstract class Plugin
|
|||
return $this->builder;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPriorityPath()
|
||||
{
|
||||
return $this->priorityPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return boolean
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue