for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, https://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2017-2025
* @package Base
* @subpackage Process
*/
namespace Aimeos\Base\Process;
* No parallel processing implementation
*
class None implements Iface
{
* Checks if processing tasks in parallel is available
* @return bool True if available, false if not
public function isAvailable() : bool
return false;
}
* Starts a new task by executing the given anonymous function
* @param \Closure $fcn Anonymous function to execute
* @param array $data List of parameters that is passed to the closure function
* @param bool $restart True if the task should be restarted if it fails (only once)
* @return \Aimeos\Base\Process\Iface Self object for method chaining
* @throws \Aimeos\Base\Process\Exception If starting the new task failed
public function start( \Closure $fcn, array $data, bool $restart = false ) : Iface
call_user_func_array( $fcn, $data );
return $this;
* Waits for the running tasks until all have finished
public function wait() : Iface