for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nwidart\Modules\Publishing;
use Nwidart\Modules\Support\Config\GenerateConfigReader;
class AssetPublisher extends Publisher
{
/**
* Determine whether the result message will shown in the console.
*
* @var bool
*/
protected $showMessage = false;
* Get destination path.
* @return string
public function getDestinationPath()
return $this->repository->assetPath($this->module->getLowerName());
getLowerName
$this->module
string
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.
}
* Get source path.
public function getSourcePath()
return $this->getModule()->getExtraPath(
getExtraPath
$this->getModule()
GenerateConfigReader::read('assets')->getPath()
);
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.