for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Helldar\LaravelLangPublisher\Services\Processors;
use Helldar\LaravelLangPublisher\Constants\Status;
final class Install extends Processor
{
public function run(): string
if (! $this->force && $this->exists()) {
return Status::SKIPPED;
}
$source = $this->load($this->source_path);
$target = $this->load($this->target_path);
$result = $this->compare($source, $target);
$this->store($this->target_path, $result);
return Status::COPIED;