src/Component/Json.php
/**
     * Pops the last value of a countable and returns it.
     *
     * @param ?string|int $index
     * @return mixed The removed element's value.
     */
Pops the last value of a countable and returns it.
@param ?string|int $index
@return mixed The removed element's value.
Pops the last value of a countable and returns it . @param ?string|int $index @return mixed The removed element ' s value .
public function pop($index = null)
    {
        return $this->do(function (array &$array) {
            return array_pop($array);
        }, $index, true);
    }
public function pop ( $ index = null ) { return $ this -> do ( function ( array & $ array ) { return array_pop ( $ array ) ; } , $ index , true ) ; }
Pops the last value of a countable and returns it.
Pops the last value of a countable and returns it .