Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -14,6 +14,7 @@ namespace IPS\Extensions;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
|
||||
use IPS\Application\BuilderFilter;
|
||||
use RuntimeException;
|
||||
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
@@ -32,10 +33,20 @@ abstract class BuildAbstract
|
||||
*/
|
||||
abstract public function build() : void;
|
||||
|
||||
/**
|
||||
* Should the current file/directory be included in the tar
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function accept( BuilderFilter $current ): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Finish Build
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
abstract protected function finish() : void;
|
||||
abstract public function finish() : void;
|
||||
}
|
||||
Reference in new issue
Block a user