Craft\Imager_MozjpegTask::getTotalSteps PHP Method

getTotalSteps() public method

public getTotalSteps ( ) : integer
return integer
    public function getTotalSteps()
    {
        // Get the actual paths out of the settings
        $this->_paths = $this->getSettings()->paths;
        // Count our final chunked array
        return is_array($this->_paths) ? count($this->_paths) : 1;
    }