public function toReadableString($separator = AbstractArray::DEFAULT_SEPARATOR, $conjunction = ' and ')
    {
        $elements = $this->elements;
        $lastElement = array_pop($elements);

        $string = implode($separator, $elements) . (count($elements) ? $conjunction : '') . $lastElement;
        unset($elements, $lastElement);

        return $string;
    }
public function toReadableString($separator = AbstractArray::DEFAULT_SEPARATOR, $conjunction = ' and ')
    {
        $elements = $this->elements;
        $lastElement = array_pop($elements);

        $string = implode($separator, $elements) . (count($elements) ? $conjunction : '') . $lastElement;
        unset($elements, $lastElement);

        return $string;
    }
public function toReadableString ( $ separator = AbstractArray :: DEFAULT_SEPARATOR , $ conjunction = ' and ' ) { $ elements = $ this -> elements ; $ lastElement = array_pop ( $ elements ) ; $ string = implode ( $ separator , $ elements ) . ( count ( $ elements ) ? $ conjunction : '' ) . $ lastElement ; unset ( $ elements , $ lastElement ) ; return $ string ; }
Implode the current array to a readable string with specified separator.

@param string $separator The element's separator
@param string $conjunction The last element conjunction

@return string A readable string representation of the current array

@link http://php.net/manual/en/function.implode.php
Implode the current array to a readable string with specified separator .