src/Sulu/Bundle/Sales/CoreBundle/Widgets/FlowOfDocuments.php
protected function addEntry($id, $number, $type, DateTime $date, $route, $pdfUrl, $translationKey = '')
    {
        $this->entries[] = array(
            'id' => $id,
            'number' => $number,
            'type' => $type,
            'date' => $date,
            'route' => $route,
            'pdfUrl' => $pdfUrl,
            'translationKey' => $translationKey
        );
    }
protected function addEntry($id, $number, $type, DateTime $date, $route, $pdfUrl, $translationKey = '')
    {
        $this->entries[] = array(
            'id' => $id,
            'number' => $number,
            'type' => $type,
            'date' => $date,
            'route' => $route,
            'pdfUrl' => $pdfUrl,
            'translationKey' => $translationKey
        );
    }
protected function addEntry ( $ id , $ number , $ type , DateTime $ date , $ route , $ pdfUrl , $ translationKey = '' ) { $ this -> entries [ ] = array ( 'id' => $ id , 'number' => $ number , 'type' => $ type , 'date' => $ date , 'route' => $ route , 'pdfUrl' => $ pdfUrl , 'translationKey' => $ translationKey ) ; }
Creates and adds an entry to the exisiting entries

@param String|Number $id
@param String $number
@param String $type
@param DateTime $date
@param String $route
@param String $pdfUrl
@param String $translationKey
Creates and adds an entry to the exisiting entries