src/Helper/ToolboxFile.php
public function addPathById($strId)
    {
        // Check if empty.
        if (empty($strId)) {
            return $this;
        }

        if (!Validator::isBinaryUuid($strId)) {
            $this->pendingIds[] = StringUtil::uuidToBin($strId);
            return $this;
        }

        $this->pendingIds[] = $strId;
        return $this;
    }
public function addPathById($strId)
    {
        // Check if empty.
        if (empty($strId)) {
            return $this;
        }

        if (!Validator::isBinaryUuid($strId)) {
            $this->pendingIds[] = StringUtil::uuidToBin($strId);
            return $this;
        }

        $this->pendingIds[] = $strId;
        return $this;
    }
public function addPathById ( $ strId ) { // Check if empty. if ( empty ( $ strId ) ) { return $ this ; } if ( ! Validator :: isBinaryUuid ( $ strId ) ) { $ this -> pendingIds [ ] = StringUtil :: uuidToBin ( $ strId ) ; return $ this ; } $ this -> pendingIds [ ] = $ strId ; return $ this ; }
Contao 3 DBAFS Support.

@param string $strId String uuid of the file.

@return ToolboxFile
Contao 3 DBAFS Support .