for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Consigliere\Components\Publishing;
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()
if ($this->repository->config('merge.published-assets')) {
return $this->repository->assetPath('');
}
return $this->repository->assetPath($this->component->getLowerName());
getLowerName
$this->component
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->getComponent()->getExtraPath(
getExtraPath
$this->getComponent()
$this->repository->config('paths.generator.assets')
);
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.