protected function getTransferableOperations()
    {
        //Transfer
        $toTransferCreated = $this->operationManager->findByStatus(new Status(Status::CREATED));

        $toTransferFailed = $this->operationManager->findByStatus(new Status(Status::TRANSFER_FAILED));

        $toTransferNegative = $this->operationManager->findByStatus(new Status(Status::TRANSFER_NEGATIVE));

        $toTransfer = array_merge($toTransferNegative, $toTransferFailed, $toTransferCreated);

        return $toTransfer;
    }
protected function getTransferableOperations()
    {
        //Transfer
        $toTransferCreated = $this->operationManager->findByStatus(new Status(Status::CREATED));

        $toTransferFailed = $this->operationManager->findByStatus(new Status(Status::TRANSFER_FAILED));

        $toTransferNegative = $this->operationManager->findByStatus(new Status(Status::TRANSFER_NEGATIVE));

        $toTransfer = array_merge($toTransferNegative, $toTransferFailed, $toTransferCreated);

        return $toTransfer;
    }
protected function getTransferableOperations ( ) { //Transfer $ toTransferCreated = $ this -> operationManager -> findByStatus ( new Status ( Status :: CREATED ) ) ; $ toTransferFailed = $ this -> operationManager -> findByStatus ( new Status ( Status :: TRANSFER_FAILED ) ) ; $ toTransferNegative = $ this -> operationManager -> findByStatus ( new Status ( Status :: TRANSFER_NEGATIVE ) ) ; $ toTransfer = array_merge ( $ toTransferNegative , $ toTransferFailed , $ toTransferCreated ) ; return $ toTransfer ; }
Fetch the operation to transfer from the storage
@return OperationInterface[]
Fetch the operation to transfer from the storage