src/Uploading/StrategiesQueue.php
public function getState()
    {
        if (empty($this->sortedQueue)) {
            return;
        }
        $current = current($this->sortedQueue)
                 ? current($this->sortedQueue)
                 : end($this->sortedQueue);

        return $current->getState();
    }
public function getState()
    {
        if (empty($this->sortedQueue)) {
            return;
        }
        $current = current($this->sortedQueue)
                 ? current($this->sortedQueue)
                 : end($this->sortedQueue);

        return $current->getState();
    }
public function getState ( ) { if ( empty ( $ this -> sortedQueue ) ) { return ; } $ current = current ( $ this -> sortedQueue ) ? current ( $ this -> sortedQueue ) : end ( $ this -> sortedQueue ) ; return $ current -> getState ( ) ; }
Gets the state of strategy.

@return null|int The state of strategy
Gets the state of strategy .