protected function checkBrand($brandDir) { require_once __DIR__ . '/../lib.php'; $brand = \brand::search($brandDir); if (!$brand) { $this->writeLog('not_brand', [$brandDir]); } return $brand; }
protected function checkBrand($brandDir) { require_once __DIR__ . '/../lib.php'; $brand = \brand::search($brandDir); if (!$brand) { $this->writeLog('not_brand', [$brandDir]); } return $brand; }